General Transpiler implemented in JavaScript
dawn.js is a source to source compiler implemented in JavaScript(CoffeeScript)
npm install dawn.js
- Lexical Parser
- Syntax Parser (including AST)
- Symbol Table Generator
- Customizable Plugin System
- Compile from one language to another language according to the grammar definition
- Implement real autocompletion specific to scopes and objects in Web
- Autocompletion between different languages (like working Javascript with JAVA in Android)
- Accurate refactor
- Handle files in complex structure easily
- Implement amazing editing features form heavy weight editors (VisualStudio, IntellijIDEA...) in light weight editors (Web, SublimeText, Atom...)
- Coming soon...
-
Flow - the dawn.js plugin system
-
MixMap - a reference grid system
-
LexParser - a parser to tokenize the code script
-
BNFParser - generate structure from plain E-BNF definition
-
SyntaxParser - a parser to generate syntax tree from lex list
-
SymbolTable - a grid system to store specific data for syntax tree
-
Zipper - a set of utilities to deal with tree structure
-
Util - a set of helpers
MIT