Node
...
Pico Engine
The old engine and krl compiler targeting nodehave been rewritten to target Node.js. As per most node projects, it's split up into smaller single purpose modules. Each one will have it's own documentation explaining what it does and how to use it.
- https://github.com/Picolab/node-pico-engine/tree/master/packages/pico-engine – provides the web server and access to built-in modules
- https://github.com/Picolab/node-pico-engine/tree/master/packages/pico-engine-core – executes – executes compiled KRL
- https://github.com/Picolab/node-pico-engine/tree/master/packages/krl-parser – parses KRL to produce an abstract syntax tree (AST)
- https://github.com/Picolab/node-pico-engine/tree/master/packages/krl-generator – generates KRL from an AST (pretty-printer)
- https://github.com/Picolab/node-pico-engine/tree/master/packages/krl-compiler – compiles AST into a JavaScript module
- https://github.com/Picolab/node-pico-engine/tree/master/packages/krl-stdlib – standard library for KRL
...
Quick-start for the node pico-engine
node pico-engine quickstartPico Engine Quickstart
pico-engine lessons
Lesson 2. Pico state
Lesson 3. Pico-based systemsEvents and Queries Lesson
Lesson 4. Pico to Pico subscriptions
Lesson 5. Pico prototypes