Concrete Syntax Tree

David Bruant bruant.d at
Tue Mar 18 08:20:34 PDT 2014


Kyle Simpson and others are starting a concrete syntax tree project
It spawned out of a long discussion on the escodegen repo

The main problem it addresses is that the mainly used AST (SpiderMonkey 
AST reused in esprima and other projects) looses cosmetic information 
(extra parens, whitespaces, semi-colons) which can be useful when 
writing tools enforcing coding style.

I'm just sharing the information here as I believe lots of people 
reading es-discuss will be interested in this project.

See you in the "registration thread" at :-)


More information about the es-discuss mailing list