FenderLang / Fender

A functional scripting language, intended for string manipulation and general scripting on the command line
MIT License
13 stars 0 forks source link

Create closure types #2

Closed GigaRyno closed 1 year ago

GigaRyno commented 1 year ago

Should include constructors from a scope

A closure wraps a scope. When it is run, it clones its scope, sets the variables it was passed in the stack, and evaluates the statements.