shithub: orca

Download patch

ref: 8ce9de3b8a1f847fc0f94fddd154f911c21bdd33
parent: 3690e9da578223662e9e04ebd1ada5ec5326efec
author: cancel <cancel@cancel.fm>
date: Sun Nov 25 23:23:08 EST 2018

Update readme

--- a/README.md
+++ b/README.md
@@ -1,17 +1,48 @@
-A basic starting point for an ncurses C99 program.
+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:
+
+```sh
+make [debug or release, default is debug]
 ```
-make
-build/debug/acro
+
+TUI:
+
+```sh
+make [debug_tui or release_tui]
 ```
 
-## Make
+The built binary will be placed at `build/[debug or release]/orca`
 
-- `make debug` if you make some mistake in the code, it's a lot easier to catch it when building as debug
-it also builds the debug symbols into the binary, so you can use a c/c++ debugger (like gdb or lldb) to step through the program and see the source code as it executes
-- `make release` will turn most optimizations on and strip out all of the unnecessary stuff which is the one you'd usually use for real or for giving to other people
-- `make clean` to blow away the build/ directory
-- `make debug_cli` will make only `orca`.
-- `make debug_tui` will make only `orca_tui`.
\ No newline at end of file
+Clean:
+```sh
+make clean
+```
+Removes `build/`
+
+## Run
+
+```sh
+orca [-t timesteps] infile
+```
+
+You can also make orca read from stdin:
+```sh
+echo -e "...\na34\n..." | orca -t 1 /dev/stdin
+```