|Date:||Mon, 28 Jan 2008 22:59:47 -0800 (PST)|
|Posted-Date:||29 Jan 2008 02:05:02 EST|
If your goal is merely to learn about writing parsers i would strongly
complex constructs. Just to get a feel for it you may want to look at
That includes the semicolon handling (there are places where
semicolons can be left out in JS) as well as most of the other pre-JS2
On Jan 17, 1:20 pm, Kilik <kilik3...@gmail.com> wrote:
> As a purely academic exercise I would like to write a scanner/parser
> this, but I want to do my own so that I can learn. I'm thinking that
> the output of my program will be an abstract syntax tree for
> I would, however, like to get off on the right foot. Can anyone
> recommend the best place to start? For example should I use a parser
> generator or try to implement this by hand. ...
Return to the
Search the comp.compilers archives again.