2006/5/3, Armin Rigo <[EMAIL PROTECTED]>:
Let's consider Javascript (the same argument applies to any interpreted
language): to write an interpreter, some people focus on the task of
compiling, say, Javascript source code to get an AST; this is only part
of the job, and it should be the shortest part -- ideally, finding an
existing parser would be best, otherwise plugging one together with
existing tools shouldn't take too long for a regular language like
Javascript.

Sadly, parsing Javascript is unnecessarily difficult because of
optional semicolon insertion. Best to look at existing parsers.

Seo Sanghyeon
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to