june / Variables and math expressions.

0 gustos
0 bifurcaciones
1 archivos
Última actividad 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 gustos
0 bifurcaciones
1 archivos
Última actividad 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 gustos
0 bifurcaciones
1 archivos
Última actividad 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 gustos
0 bifurcaciones
3 archivos
Última actividad 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|
Siguiente Anterior