katsaii / catspeak-lang

A cross-platform modding language for GameMaker games.
https://www.katsaii.com/catspeak-lang/
MIT License
81 stars 4 forks source link

Better accommodate nullish values when parsing Catspeak IR from JSON #99

Closed katsaii closed 9 months ago

katsaii commented 9 months ago

What version of Catspeak are you using?

3.0.0-beta3

What happened?

Right now, pointer_null is never handled as an optional case. This is a problem because the JSON functions will convert null into pointer_null instead of undefined.