Sample GraphScript programs and materials.
hello.gsam- a minimal console exampletest.gsam- a small test samplesemantics.gsam- core language semantics examplesplanned-semantics.gsam- extended/planned semantics notesbeer_bottles.gsam- a sample programapi-quick.gsam- a quick API-oriented examplelogs-server.gsam- server/logging sample
Reusable Python-injected materials live under materials/:
materials/consolematerials/servermaterials/api core
Each material has a main.py implementation and a material.conf file with TYPE=PY-INJ.
$ console
- log
! Hello, GSAM!
$ console
$ server
- on request
> handle request
- log
+ Hello, GSAM!
- start http server
+ 8000
- These samples are meant to show GraphScript syntax, materials, and execution patterns.
- The
semantics.gsamfile is especially useful for understanding the language shape. - The
materials/folder shows how to attach runtime behavior to GraphScript nodes.