santoshrajan/lispyscript — pull request #11 by Gozala (2012-06-27 02:14:59+00:00)
Title: Add suporrt for stdin -> compile -> stdout

With this change input from **stdin** is compiled and output is written to **stdout**.

This makes few things a lot easier for example `cat src/lispy.ls | lispy` will print compile output.
This patch depends on other changes I have submitted (#10, #8, #7, #6), once their are pulled diff here will appear a lot smaller.

While working on this I have noticed that valid lisp `(if true true)` compiles to an invalid JS `true ? true : ;` so I fixed that so that it complies to `true ? true : undefined;` instead.