We all know that real men code in binary, and hexidecimal makes for smaller file sizes. I added a base option to compile and run, and implemented it with a command line switch in cmd.js.
For example, now you can do number-script -b 2, then input 11000000111001 in interactive mode, or read a file with number-script -b 16 hex.number.
number-script -b 2
number-script -b 16 hex.number
Added support for bases other than decimal
Don't ever add node_modules to .gitignore, it messes up some forms of deployment: http://www.mikealrogers.com/posts/nodemodules-in-git.html
Oh, TIL. Removed.
Merge branch 'master' of git://github.com/substack/number-script
A problem is that bignum can't convert to arbitrary bases in .toString() so decompiling won't work. I pushed a fork using bigint, but that requires libgmp.
Because of that, I did not include the base specification in decompile, only run and compile.