This is a small parser that allows the following JavaScript expressions:
expr == exprexpr != exprexpr >= exprexpr > exprexpr <= exprexpr < exprexpr || exprexpr && expr( expr )variable3-4'"There", he said.'"\"There\", he said."
and then returns a namespaced javascript expression (foo will become JANUS.foo)
- The JS part "mocks" variable binding by assuming Math.PI for all variables. The tests reflect this.
- the Makefile expects a jison checkout (commit 40d7bf69e1d83d33e281efb73c8d0c28bcc100df works) at ../jison (used for the php port)
- Jison for being awesome
- Obeliks for fixing the last parser bug :P
BSD