v1.0
Basic (oR more Accurately) Zack's Interpreted Language
It's a mix of Microsoft BASIC, and more modern languages.
LINE NUMBER (space) COMMAND
# or $ is hex
! is binary
No symbol is decimal.
Basic Looping Program
(Well, the assembly version was more advanced.)
myVar = expression
All math expressions are what you'd expect (*, /, +, -) except for exponents which are ^ instead of **
Parenthasis () have not been implemented yet.
Math + assignment is handled like modern languages
IF expression
// Your Code Here
THEN
or
IF expression
// Your Code Here
ELSE
// More Code Here
THEN
WHILE expression
// Your Code Here
THEN
FOR variable IN RANGE(start, end)
// Your Code Here
THEN
Use BREAK to exit a loop early.
READ(address)
WRITE(address, data, length)
Continues execution at the specified line number.