Open
Description
By the current design when jsx is passed no compiler options via command line arguments it compiles the code without emitting bootstrap code. This kind of behavior is pretty confusing especially for the case where compiling the same file many times in the terminal. To avoid the problem, we change jsx command in the following ways:
- warn or throw an error when compiler doesn't take any option.
- if you want to compile the code to create a shared (main function-free) js, you explicitly pass a compiler option
--library
.
--library
is a very clear word for me but may not be for someone else. If you think --library
sounds like an option to switch the external library path, any other ideas for the word is of course welcome.