[Mono-dev] Fwd: javascript compiler for Moonlight.

Miguel de Icaza miguel at novell.com
Sat May 26 19:25:03 EDT 2007


> I have commit my work and start parser. I know that can change but
> even if it change a lot I doubt the core will change a lot... 
> About the previous implementation of JScript, I do not know this
> implementation but I prefer to start from crash and discover my own
> bug ^^.

This will also be useful as the other one was covered under the MPL
license, so we will be better off with the X11 licensed version of it.

> If anyone who are less a beginner than me in compiler can made
> feedback and advice, it will be welcome ;) I am sure there are some
> ways to avoir performance issue ( or common bug).

To preserve memory usage, I suggest that you use something like mcs's
location.cs that is able to encode filename + line + column in a single

Also, tokens probably could be better as int32 values, and you could
track location on parallel, not in the tokens but in the actual nodes of
the AST to save space.


More information about the Mono-devel-list mailing list