Skip to content

Tags: xtulnx/gobasic

Tags

release-1.9

Toggle release-1.9's commit message
Build/upload goserver too

release-1.8

Toggle release-1.8's commit message
Count our line-offsets only AFTER we've updated IFs.

Nowadays we rewrite some IF statements, turning this:

        IF A < B THEN 300 ELSE 400

into this:

        IF A < B THEN GOTO 300 ELSE 400

By doing this we change the length of our program, and that means
that any calculated line-number -> program-offset mapping is
off.  Calculate the line-number indexes _after_ expansion, to
ensure they're always correct.

release-1.7.1

Toggle release-1.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request skx#83 from skx/allow-raw-line-for-if

Allow omitting GOTO for IF-tests.

release-1.7

Toggle release-1.7's commit message
Avoid negative indexes on array-accesses.

Found via fuzzing :)

release-1.6

Toggle release-1.6's commit message
Minor improvement in test-coverage

release-1.5

Toggle release-1.5's commit message
More godoc improvements for skx#72

release-1.4

Toggle release-1.4's commit message
More bounds-checking on parsing of DEF FN.

This closes skx#67.

release-1.3

Toggle release-1.3's commit message
Removed ineffective assignment

release-1.2

Toggle release-1.2's commit message
Allow digits in variable-names.

This was a simple change, as we only start searching for identifiers
when we hit a non-digit.  This means if we remove the restriction
on numbers we're already guaranteed that we'll have things that
don't have a leading digit.

Added test case for same.

This closes skx#62.

release-1.1

Toggle release-1.1's commit message
Increased test-coverage