dawn.js
v0.1.1
Published
General Transpiler implemented in JavaScript
Downloads
14
Maintainers
Readme
dawn.js
General Transpiler implemented in JavaScript
dawn.js is a source to source compiler implemented in JavaScript(CoffeeScript)
NPM
npm install dawn.js
Built in Features
- Lexical Parser
- Syntax Parser (including AST)
- Symbol Table Generator
- Customizable Plugin System
Things available to do
- 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...)
Demo
Tutorial
- Coming soon...
API Reference
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
License
MIT