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 8ce9de3b8a Update readme 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 Update readme 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 and separate curses terminal user interface.

Prerequisites

CLI interpreter

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.

Terminal UI

The above, plus ncurses or ncursesw. (Note: terminal UI doesn't yet do anything useful.)

Build

CLI interpreter:

make [debug or release, default is debug]

TUI:

make [debug_tui or release_tui]

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