Unbox is a GPLv3 licensed version of the J programming language interpreter derived from the initial J Software source release. The goals of this project are to provide bug fixes in the short term and language enhancements and new features in the long term. Although this is intended to be used as a drop in replacement for the J shared library the behavior of the interpreter and the definition of the language itself will likely diverge from the official J Software version over time.
- Unbox uses the tup build system. Install tup for your platform.
- Clone the repository
- Edit tup.config
CONFIG_RELEASE
: toggle the optimizations / debugging informationCONFIG_TEST
: toggle whether or not to run the test script suite after a successful buildCONFIG_CLANG
: y to use clang instead of gcc on LinuxCONFIG_X86_64
: toggle 64/32 bit buildCONFIG_READLINE
: toggle readline support for jconsole on Linux
- Make sure tup is in your PATH
- Type
tup
in the working directory
- Make sure tup is in your PATH
- From the Visual Studio Tools folder run the command prompt appropriate for your build
- Change to the Unbox source directory and type
tup
I do not have access to a Mac and have not tried building this yet. If you are a Mac user, please test and report your results and I will update this section.
To run the test suite set the CONFIG_TEST=y
in tup.config and rerun tup.
If a test fails run bin/jconsole -debug test/<path-to-test>
to see where the failure is occuring.