-
Notifications
You must be signed in to change notification settings - Fork 0
Token based Intermediate representation with XML
mallowlabs/tobirex
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
## about ## Tobirex is a javascript lexer. It outputs results of analysis as XML format. It leaves whitespaces on results, so you can convert XML outputs to the original source code. ## install ## 1. gem sources -a http://gems.github.com 2. gem install aaronp-frex 3. gem install mallowlabs-tobirex ## usage ## $ tobirex < target.js or $ tobirex target.js ## example ## $ cat test.js var i = 0; $ tobirex test.js <?xml version="1.0"?><tokens><kw>var</kw><sp> </sp><ident>i</ident><sp> </sp><op>=</op><sp> </sp><literal>0</literal><op>;</op><nl> </nl><nl> </nl></tokens>
About
Token based Intermediate representation with XML
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published