gBASIC. `help` for prompt commands, `quit` to leave.
> dog = { kind: "answer", text: "a dog", yes: nothing }
> encode(dog)
{"kind":"answer","text":"a dog","yes":nothing}
> json_encode(dog)
{"kind":"answer","text":"a dog","yes":null}
> decode(encode(dog)) = dog
true
> decode(json_encode(dog)) = dog
true
> json_encodable({ yes: unknown })
false
> json_encode({ yes: unknown })
runtime error at <prompt>:1:1: json_encode: `unknown` has no JSON representation; omit the field or replace it with nothing (null)
> print("still here")
still here
> quit
Your program was not saved; `recover` will bring it back next time.
