Closed katsaii closed 1 year ago
This is a bit of an esoteric feature, but exposing a method of modifying the compiler internals in a stable way, such as which identifiers correspond to keywords. Maybe the catspeak_config function can be utilised for this:
catspeak_config
catspeak_config({ "keywords": { "func" : CatspeakToken.FUN }, });
Added a similar behaviour to this in version 2.2.0. The syntax will be:
var config = catspeak_config(); config.keywords[$ "func"] = CatspeakToken.FUN;
This is a bit of an esoteric feature, but exposing a method of modifying the compiler internals in a stable way, such as which identifiers correspond to keywords. Maybe the
catspeak_config
function can be utilised for this: