Documentation ¶
Overview ¶
The embed script demonstrates embedding the BASIC interpreter into a custom program of your own - along with extending the BASIC interpreter to add your own custom functions.
This example demonstrates several things:
1. Setting a variable from golang which will be visible to BASIC.
2. Defining custom functions (CIRCLE, DOT, PEEK, POKE, SAVE).
3. Retrieving the contents of BASIC values back to golang.
Being standalone should make it simple to understand.
Click to show internal directories.
Click to hide internal directories.