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.
 
 
 
cancel 49e8f11dec Remove unnecessary subheader 6 years ago
examples Updated examples 6 years ago
.clang-format Change .clang-format to not reflow comments 6 years ago
.gitignore Init with basic test 6 years ago
Makefile Add narrowing conversion warning, fix warnings 6 years ago
README.md Remove unnecessary subheader 6 years ago
base.h Rename USz and ISz to Usz and Isz 6 years ago
cli_main.c Add narrowing conversion warning, fix warnings 6 years ago
field.c Rename USz and ISz to Usz and Isz 6 years ago
field.h Rename USz and ISz to Usz and Isz 6 years ago
sim.c Cleanup unnecessary cast 6 years ago
sim.h Add sim.h/.c add stub for orca_run() 6 years ago
tui_main.c Fix warning in tui build 6 years ago

README.md

C engine for the ORCΛ programming environment, with a commandline interpreter.

Prerequisites

libc, POSIX, C99 compiler, make. Tested to build on Linux and Mac (gcc, clang.) No native Windows port yet, but it will probably build with cygwin already.

Build

make [debug or release, default is debug]

The built binary will be placed at build/[debug or release]/orca

Clean:

make clean

Removes build/

Run

orca [-t timesteps] infile

You can also make orca read from stdin:

echo -e "...\na34\n..." | orca -t 1 /dev/stdin