june / Propagators (Draft)

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1759333592
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 файл(-ов)
Последняя активность 1759255931
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

june / Greek Salad

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1752600199
A small recipe for a Greek salad.
1 |- greek salad -|
2 - chop
3 - romaine lettuce
4 - slice
5 - red onions
6 - dice
7 - cucumbers
8 - chop
9 - bell peppers
10 - cube

june / Trans Pride Flag

0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 1752438127
A small Nova program to draw the trans pride flag in the playground.
1 || :@include: (
2 lib/rpn.nv
3 lib/nv/meta.nv
4 lib/platforms/browser_game.nv
5 lib/platforms/browser_dom.nv
6 )
7
8 ||:: create a 400 by 400 canvas
9 :: draw the trans pride flag

june / Viznut.

0 лайк(-ов)
0 форк(-ов)
3 файл(-ов)
Последняя активность 1747970823
This is a full implementation of a Viznut pattern generator, including a small windowing framework and a full stack machine DSL.
1 |:push: :: $x|
2 :: push $x
3 |:push:|
4
5 |:set: :: $name :data: $value|
6 :: set $name $value
7 |:set: :: $name|
8 :error: stack underflow
9
10 |:get: :: $name|
Новее Позже