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 3fa44aeba8 Fix redundant semicolon 6 years ago
examples Updated examples 6 years ago
.clang-format Add some test helper macros to sim.c 6 years ago
.gitignore Init with basic test 6 years ago
Makefile Add basic test of star/bang and E movement 6 years ago
README.md Remove unnecessary subheader 6 years ago
base.h Rename Field_buffer to Gbuffer 6 years ago
cli_main.c Change sim to only use gbuffer, not field 6 years ago
field.c Remove redundant casts 6 years ago
field.h Add gbuffer.h 6 years ago
gbuffer.h Fix warning in release build 6 years ago
mark.c Rename Markmap_buffer to Mbuffer 6 years ago
mark.h Rename Markmap_buffer to Mbuffer 6 years ago
sim.c Fix redundant semicolon 6 years ago
sim.h Rename Markmap_buffer to Mbuffer 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