Andrew Kesterson 63ce2b2a0b Implemented argument lists for functions (and commands). Implemented LEN and MID functions. Added functions to expression parsing before primaries so they can be included in calculations.
READY
10 A$ = "Hello, World!"
20 PRINT A$
30 B$ = MID(A$, 2, 6)
40 PRINT B$
50 C# = LEN(B$)
60 PRINT "String (" + A$ + ") has a length of " + LEN(A$) + " and substring (" + B$ +"
) has a length of " + C#
RUN
Hello, World!
llo,
String (Hello, World!) has a length of 13 and substring (llo,) has a length of 4
READY
2025-01-22 18:28:07 -05:00
2025-01-20 00:22:07 -05:00
2025-01-21 22:37:35 -05:00
Description
A BASIC interpreter styled after Commodore BASIC 7 and 1964 Dartmouth BASIC
1.3 MiB
Languages
Go 93.1%
BASIC 3.4%
Shell 2.5%
Makefile 1%