Menu ▾ ▴

HowToBuild

James Harris

How to build

From the gistos-lm tree:

make
./gistos_lm flows/demo.flow

If the tree cannot exec binaries:

gcc -std=c99 -Wall -O2 -o /tmp/gistos_lm gistos.c flow.c harness.c main.c
/tmp/gistos_lm flows/demo.flow

What you should see

  • grants along the path
  • input hello from origin
  • subunits echo / upper / count
  • harness wait on the stream-kid payload 17
  • asserts pass
  • NOTE QOS_REJECT unfired — that line is success, not a missing test

Flow file

subunit echo
subunit upper
subunit count
input "hello from origin"
path echo upper count

Unknown subunit names run echo.

Law files

Keep gistos-invariant-v1.0.2.md next to the C.
Do not let an assistant “improve” qos into a scheduler.
Do not add a seventh bit.