substack/number-script — pull request #2 by mappum (2012-06-22 09:21:12+00:00)
Title: Added support for bases other than decimal

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`.