.settings | ||
build | ||
META-INF | ||
shellscripts | ||
src/edu/fichte/pbi | ||
.classpath | ||
.gitignore | ||
.project | ||
build.gradle | ||
build.properties | ||
gradlew | ||
gradlew.bat | ||
gson-2.6.2-javadoc.jar | ||
program.bs1 | ||
README.md | ||
unittests.bs1 |
pbi
The πBASIC Interpreter
This is a java program that interprets the Basic Stamp 1 Basic language PBasic (®).
Run it on linux/mac with pbi.sh or on windows with pbi.bat (You can also run it on every system with java -jar pbi.jar).
Use the filename as last argument.
Other flags are: -noinfo
(removes the output of additional information about the actual command),
-nowarn
(removes the output of warnings), and
-fast
(does not slow down the execution to the level of bs1).
Additional contents are: ACTIVATEINFO
(a command that activates the output of additional information at runtime), DEACTIVATEINFO
(a command that deactivates the output of additional information at runtime), DEBUG EEPROM
(a debug argument that outputs the composition of the EEPROM at runtime), SYMBOL new = NEW 16
(a command that adds a new variable of 16 bits to the system), SYSCLOCK
(A variable which returns System.currentTimeMillis() - the system-time), BREAKPOINT
(a command that loops the evaluation of the user-input as a single command) and ASSERT
(a command that creates an error if the following expression is false).
A GUI is coming soon.
(written by Elias Groll, Johanna Reichmann)