june / Kitchen Simulation

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 6 months ago
An example of a kitchen that can take orders.
1 ||:@include: lib/rpn.nv
2
3 ||::(BLT for june and mary)
4 :vegan:
5
6 ||:pantry: (bread lettuce bacon tomato tempeh)
7 :menu: BLT
8
9 |:recipe: BLT|
10 :need: (bread lettuce tomato bacon)

june / Parser (Skeleton)

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 6 months ago
The skeleton of a symbol stream parser.
1 > "State:" Pending
2 "Symbols:" 0
3 > "State:" Fact
4
5 > "State:" Pending
6 "Symbols:" $any
7 > "State:" Left
8
9 > "State:" Left
10 "Symbols:" 0

june / Propagators (Draft)

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
A quick demonstration of building propagators from scratch.
1 ||:@include: lib/rpn.nv
2
3 ||:: a = b + c
4 ||:: d = a + # 1
5 ||:: b = 1
6 ||:: c = 2
7
8 |:: $x = $y $op $z|
9 :: create some cells :names: ($x $y $z)
10 :: create an operator

june / Variables and math expressions.

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 8 months ago
An example of adding basic variable bindings and binary math expressions to Nova.
1 ||:: foo = bar
2 :: bar = baz
3 :: baz = 2
4 :: quux = foo
5 :: baz = bar + foo
6 :: baz = baz + quux
7 :: baz = baz + baz
8
9
10 ||:@include: lib/rpn.nv