Skip to content

metaprogramming support #32

Description

@mhaupt

Because why not?

Some ideas:

GOSUB 970: execute BASIC code contained in OB$. If it's an expression, the result will be in OV or OV$.

GOSUB 971: insert / replace lines in the program. OB$ contains a line of BASIC code (complete with line number) that replaces the current one with the same number if it exists, or inserts a new one.

GOSUB 972: request lines from the program. OB contains a line number, and OB$ afterwards contains the source code of the respective line.

GOSUB 973: dump the entire source code to the Java console, or save it to a file, if OF$ contains a name.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions