| Crates.io | jcompiler |
| lib.rs | jcompiler |
| version | 0.1.0 |
| created_at | 2019-03-08 04:11:50.3152+00 |
| updated_at | 2019-03-08 04:11:50.3152+00 |
| description | a compiler for the J programming language |
| homepage | https://github.com/mattjquinn/jcompiler |
| repository | https://github.com/mattjquinn/jcompiler |
| max_upload_size | |
| id | 119431 |
| size | 40,254 |
The latest API reference for the master branch is available here.
You will need LLVM and Rust installed.
$ cargo build --release
You can then compile and run programs as follows:
$ target/release/jcompiler j_examples/test.ijs
$ ./test
Hello World!
By default, jcompiler compiles programs to executables that run on the current machine. You can explicitly specify architecture using LLVM target triples:
$ target/release/jcompiler j_examples/test.ijs --target=x86_64-pc-linux-gnu
$ cargo test
integration_tests.sh to src/tests/compiler_tests.rs.ansi_term crate).