No commit activity in last 3 years
No release in over 3 years
Token based Intermediate representation with XML.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme
## 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>