Skip to content

Provides an Abstract Syntax Tree (AST) to generate ECMAScript code.

License

Notifications You must be signed in to change notification settings

sebmarkbage/ast-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AST.js

Provides an Abstract Syntax Tree (AST) to generate ECMAScript code.

TODO:

  • Add parentheses around expressions when necessary
  • Nice indented formatting with options
  • Rename invalid or scope colliding variable names
  • Escape dangerous characters in regular expression literals
  • Statements: for, while, do, switch, with, delete, typeof, instanceof
  • Comments
  • Lexical parser

About

Provides an Abstract Syntax Tree (AST) to generate ECMAScript code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published