AST in JSON format

ihab.awad at gmail.com ihab.awad at gmail.com
Mon Dec 7 15:21:34 PST 2009


On Mon, Dec 7, 2009 at 3:10 PM, David-Sarah Hopwood
<david-sarah at jacaranda.org> wrote:
> ... programmers of AST-processing applications will see this
> serialization when debugging, and it is likely to appear in test
> cases for such applications and for parsers/emitters.

Also: would a JsonML representation be *quicker* to execute than the
original human readable JS source? If so, it could be useful as a wire
format for the code of mobile objects.

Furthermore, this format could be a good target for *generated* code.

On the other hand, this discussion slowly creeps into asking whether
(say) collaborative IDEs and could benefit from such a common
representation. For that use case, it would be necessary to support
comments, which would grow the problem space considerably....

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA


More information about the es-discuss mailing list