anko / eslisp

un-opinionated S-expression syntax and macro system for JavaScript
ISC License
528 stars 31 forks source link

Added support for explicit output file to command line interface via … #62

Closed VincentToups closed 4 months ago

VincentToups commented 3 years ago

…an --output or -o command line switch.

I noticed that writing to the standard output during macro-expansion ends up writing into the source code generated by eslc. Since it is handy to use log-style debugging sometimes I added a -o flag to the compiler so that you can specify the output file as something other than the stdout.