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 c577a4a25f Shorten definition of oper_has_neighboring bang, cleanup base macros 6 years ago
examples Update examples 6 years ago
.clang-format Add working 'O' operator, and load/store bank macros 6 years ago
.gitignore Init with basic test 6 years ago
Makefile Update tool and Makefile for separate config/target 6 years ago
README.md Update README 6 years ago
bank.c Remove use of memset in bank.c 6 years ago
bank.h Change bank storage to use I32 instead of Glyph 6 years ago
base.h Shorten definition of oper_has_neighboring bang, cleanup base macros 6 years ago
cli_main.c Add tick number param 6 years ago
field.c Remove redundant casts 6 years ago
field.h Add gbuffer.h 6 years ago
gbuffer.h Fix Mac build 6 years ago
mark.c Rename Markmap_buffer to Mbuffer 6 years ago
mark.h Change port syntax in macros 6 years ago
sim.c Shorten definition of oper_has_neighboring bang, cleanup base macros 6 years ago
sim.h Add tick number param 6 years ago
tool Fix -no-pie error on mac in build tool 6 years ago
tui_main.c Update tool and Makefile for separate config/target 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.

Run

orca [-t timesteps] infile

You can also make orca read from stdin:

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