baysick icon indicating copy to clipboard operation
baysick copied to clipboard

An embedded Insane-specific Language for Scala implementing the BASIC programming language

Results 5 baysick issues
Sort by recently updated
recently updated
newest added

The BASIC code does not run unless the line numbers are a multiple of 10.

Also contains code for a terminal based BASIC compiler.

Just a suggestion. SBT will help you run tests and build easier. Right now it looks like tests are run via a shell script.

on line 194: replace ``` scala def RUN() = gotoLine(lines.keys.toList.sort((l,r) => l < r).first) ``` with ``` scala def RUN() = gotoLine(lines.keys.toList.sortWith((l, r) => l < r).head) ``` I believe...

Baysick should support subroutines. They would work something like this: ``` 10 PRINT "Subroutine test" 20 LET ('a := 0) 30 PRINT "Variable is " % 'a // prints 0...