skx / gobasic

A BASIC interpreter written in golang.
https://blog.steve.fi/tags/basic/
GNU General Public License v2.0
328 stars 27 forks source link

Implement DEF FN + FN #52

Closed skx closed 6 years ago

skx commented 6 years ago

These will allow user-definable functions.

Note that this means we essentially have to write eval. We can probably fake it if we create a new interpreter, and tokenizer inside the real one.