Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #3146

Re: Do people create parsers for command line arguments?

From gah4 <gah4@u.washington.edu>
Newsgroups comp.compilers
Subject Re: Do people create parsers for command line arguments?
Date 2022-07-29 15:30 -0700
Organization Compilers Central
Message-ID <22-07-059@comp.compilers> (permalink)
References <22-07-054@comp.compilers> <22-07-057@comp.compilers>

Show all headers | View raw


On Friday, July 29, 2022 at 2:49:38 PM UTC-7, Kaz Kylheku wrote:

(snip)

> All of these programs must be parsing. They have phrase structures
> and operator precedence with parentheses right the command line.

It seems to me that this is the important part. The simplest processing
of a command line might not count as parsing.

If one processes an arithmetic expression left to right, with no precedence,
that might not count as parsing. Is two different precedence levels enough?

My first thought of the question was for machine generated vs.
hand written parsers.  When does it get complicated enough to make
it worth using a parser generator?

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Do people create parsers for command line arguments? Roger L Costello <costello@mitre.org> - 2022-07-28 11:14 +0000
  Re: Do people create parsers for command line arguments? Kaz Kylheku <480-992-1380@kylheku.com> - 2022-07-29 20:52 +0000
    Re: Do people create parsers for command line arguments? gah4 <gah4@u.washington.edu> - 2022-07-29 15:30 -0700
      Re: Do people create parsers for command line arguments? Giacinto Cifelli <gciofono@gmail.com> - 2022-08-08 18:25 +0200
        Re: Do people create parsers for command line arguments? gah4 <gah4@u.washington.edu> - 2022-08-08 22:01 -0700
        Re: Do people create parsers for command line arguments? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2022-09-29 13:16 -0400
  Re: Do people create parsers for command line arguments? gah4 <gah4@u.washington.edu> - 2022-08-23 15:07 -0700

csiph-web