katsaii / catspeak-lang

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

.removeFunction() method on environments #55

Closed JujuAdams closed 1 year ago

JujuAdams commented 1 year ago

Whilst building Catspeak Live, I'm finding that there are situations in which I'd like to remove functions from an environment as sources files are removed from the cache/index. I've hacked in a function to do that myself inside of Catspeak but it might be a useful feature to have in general.

See also: .removeConstant() .removedKeyword()