june / Menu System
0 likes
0 forks
1 files
Last active 1 day ago
A small menu system with configurable actions.
| 1 | ||:: set up the menus |
| 2 | :: run the test |
| 3 | |
| 4 | |:: set up the menus| |
| 5 | :: define menu title-screen |
| 6 | :: start -> switch-menu |
| 7 | :: options -> switch-menu |
| 8 | :: quit -> quit-game |
| 9 | :: end menu |
| 10 | :: define menu start |
june / Scoped Propagators
0 likes
0 forks
1 files
Last active 1 week ago
A small modification to the original propagator code that adds scopes.
| 1 | || :@include: lib/rpn.nv |
| 2 | |
| 3 | ||:: ( |
| 4 | a = b + c ; |
| 5 | var c ; |
| 6 | a = 10 ; |
| 7 | b <- 20 ; |
| 8 | c <- 30 ; |
| 9 | { |
| 10 | a = b - c ; |
june / Propagators
0 likes
0 forks
1 files
Last active 1 week ago
An implementation of propagators in Nova.
| 1 | || :@include: lib/rpn.nv |
| 2 | |
| 3 | || :: declare variables :: (a b c d) |
| 4 | :: c = b * a |
| 5 | :: d = c + a |
| 6 | :: a <- 3 |
| 7 | :: b <- 2 |
| 8 | |
| 9 | |:: $x <- $y| |
| 10 | :: set $x to $y |
Newer
Older