june / Pen Plotter
0 likes
0 forks
1 files
Last active 9 months ago
A pen plotter in string rewriting.
| 1 | Handle a horizontal move. |
| 2 | Handle a left move. |
| 3 | Switch to state 'L'. |
| 4 | |l -> OL |
| 5 | Skip over the instruction stream, cells, inactive cursors and separators. |
| 6 | Ll -> lL |
| 7 | Lr -> rL |
| 8 | Lu -> uL |
| 9 | Ld -> dL |
| 10 | L. -> .L |
june / Drawing A Box
0 likes
0 forks
1 files
Last active 1 year ago
A small box drawing program, driven by a pen plotter DSL.
| 1 | |u | up |
| 2 | |d | down |
| 3 | |l | left |
| 4 | |r | right |
| 5 | |f | forward |
| 6 | |tl | turn left |
| 7 | |tr | turn right |
| 8 | |uu | u,u |
| 9 | |dd | d,d |
| 10 | |ll | l,l |
june / Patching A Compiled Program
0 likes
0 forks
1 files
Last active 1 year ago
Adding features to a program compiled from another language.
| 1 | |----------------------------------------| |
| 2 | |
| 3 | The section between these |
| 4 | two lines is a patch to |
| 5 | the original program. |
| 6 | |
| 7 | It's intended that, as a |
| 8 | program is used, it can be |
| 9 | changed and patched as the |
| 10 | user desires. |
june / A small game.
0 likes
0 forks
1 files
Last active 1 year ago
A livecoded text adventure game with a win and loss condition.
| 1 | Start the game: |
| 2 | The Road is to the east of The House, |
| 3 | The Forest is to the east of The Road, |
| 4 | The Shed is to the south of The House, |
| 5 | The Field is to the south of The House, |
| 6 | The Shed is locked, |
| 7 | You spawn. |
| 8 | |
| 9 | You are next to $a $place: You are at $a $place. |