That’s awesome. I started writing a parser in Antlr, but getting the indentation right is very tricky.
That’s very accurate . I wrote helping scenes with subroutines to extend ChoiceScript core functionalities in vanilla ChoiceScript, similar to Twiger_Fluff’s.
The only recursive subroutine I wrote was to get the greatest common denominator, and the scope wasn’t a problem because only the last value really matters. But I’ll have to keep the scope in mind now.
I was mildly curious about the scope then, but since the routine passed my unit test I just shrugged it off.