embed

command
v0.0.0-...-437b54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: GPL-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL