You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
6 years ago | |
---|---|---|
examples | 6 years ago | |
.clang-format | 6 years ago | |
.gitignore | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
bank.c | 6 years ago | |
bank.h | 6 years ago | |
base.h | 6 years ago | |
cli_main.c | 6 years ago | |
field.c | 6 years ago | |
field.h | 6 years ago | |
gbuffer.h | 6 years ago | |
mark.c | 6 years ago | |
mark.h | 6 years ago | |
sim.c | 6 years ago | |
sim.h | 6 years ago | |
tool | 6 years ago | |
tui_main.c | 6 years ago |
README.md
C engine for the ORCΛ programming environment, with a commandline interpreter.
Prerequisites
POSIX, C99 compiler, bash
for the build script. Tested to build on Linux and
Mac with GCC and clang. No native Windows port yet, but it will probably
already build under cygwin.
Build
You can use the build script directly, or with the make
wrapper.
Make
make [debug or release, default is debug]
The built binary will be placed at build/[debug or release]/orca
Clean:
make clean
Removes build/
Build Script
Run ./tool --help
to see usage info.
Build Tui
./tool build debug tui
Run
orca [-t timesteps] infile
You can also make orca read from stdin:
echo -e "...\na34\n..." | orca /dev/stdin