Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

release-0.2

Choose a tag to compare

@skx skx released this 20 Oct 16:11
· 489 commits to master since this release

This release contains an example of embedding the interpreter into some random code:

  • The file embed/main.go does a couple of things:
    • Defines a DOT function implemented in go that will set a pixel on a PNG canvas
    • Defines a SAVE function to write out that pixel
    • It also defines PEEK & POKE functions, which are less impressive.

Otherwise there are some new primitives RND, PI, SQT, etc. These primitives are implemented using the extension-mechanism the embedded example demonstrated.

The final remaining new feature was the migration to storing variables as float64 rather than int, which was necessary to store values such as π.