On Mon, Dec 7, 2009 at 3:29 PM, Oliver Hunt <[email protected]> wrote:
> On Dec 7, 2009, at 3:21 PM, [email protected] wrote:
>> Furthermore, this format could be a good target for *generated* code.
> I'm not sure what you mean here...

Oh, I'm just claiming that if you need to write a code generator, it
may be easier to output an AST in JsonML then use a standard renderer
to serialize it, rather than worry about how to render as real JS
source code and print out opening and closing braces, parentheses,
semicolons, etc (or hunt around finding a library that will do that
for you).

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to