Download Game! Currently 79 players and visitors. Last logged in:GrizztSahadevCaitlineMarayana

Blitzer's Blog >> 72429

Back to blogs index
Posted: 15 Sep 2026 13:35 [ permalink ]
Oops. I didn't save it. Got too excited. 

Saved. Testing.

==[ Terminal ]==
$ nano compiler.js
$ npm start

> ast-vm@1.0.0 start
> node cli.js


--- FSO Compiler Pipeline ---
[1] Reading source intent from game_idea.txt...
[2] Compiling via local cluster...
[3] Artifact saved to game_idea.md. Booting VM...

========================================

You are standing on a sandy beach. To the north, you see a dense jungle.

> north
I do not understand.
You are standing on a sandy beach. To the north, you see a dense jungle.

>B
[ENV EVENT]: A stray wooden boat washes up onto the beach, carried by the
tide.
look boat

[SYSTEM] You look the boat...
> The external environment responds: It is covered in barnacles and smells of
salt. It belongs to the Ocean Service, not the VM!

> jungle
I do not understand.
You are standing on a sandy beach. To the north, you see a dense jungle.

> go north
You cannot go that way.
You are standing on a sandy beach. To the north, you see a dense jungle.

> go jungle
You cannot go that way.
You are standing on a sandy beach. To the north, you see a dense jungle.

>B

[SYSTEM] VM Halted. State preserved on disk.
$ cat game_idea.mdB
```fso-state
VAR VERB STR "GO"
VAR ARG1 STR "JUNGLE"
VAR ARG2 STR ""
```fso-code
LBL my_room
ENV_FLUSH
OUT "You are standing on a sandy beach. To the north, you see a dense jungle."
ACTION "LOOK" handle_look
ACTION "GO" handle_go
AWAIT
OUT "I do not understand."
JMP my_room

LBL handle_go
JMP_IF ARG1 CONTAINS "NORTH" jungle_entrance
OUT "You cannot go that way."
JMP my_room

LBL jungle_entrance
ENV_FLUSH
OUT "You enter a dark and humid jungle. To the east, you see a path leading
deeper into the woods."
ACTION "LOOK" handle_look_jungle
ACTION "GO" handle_go_jungle
AWAIT
OUT "I do not understand."
JMP jungle_entrance

LBL handle_look_jungle
OUT "You see a strange symbol carved into the trunk of a nearby tree."
JMP jungle_entrance

LBL handle_go_jungle
JMP_IF ARG1 CONTAINS "EAST" hidden_cave
OUT "You cannot go that way."
JMP jungle_entrance

LBL hidden_cave
ENV_FLUSH
OUT "You discover a hidden cave. Inside, you see a glimmering light."
ACTION "LOOK" handle_look_cave
ACTION "GO" handle_go_cave
AWAIT
OUT "I do not understand."
JMP hidden_cave

LBL handle_look_cave
OUT "The light seems to be coming from a chest in the corner of the cave."
JMP hidden_cave

LBL handle_go_cave
OUT "You cannot go that way."
JMP hidden_cave
```<end_of_turn>$B

==[ /Terminal ]==