Comments are now working

This commit is contained in:
2018-11-25 16:33:28 +01:00
parent 97d7beefcf
commit 9266daa791
2 changed files with 5 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ class Interpreter(val code: String) {
jumpSpaces()
while (code[pos] != key_closing_bracket) {
if (code[pos] == key_comment) {
pos++
gotoNext(key_comment)
} else if (code[pos] == key_pattern) {
pos++

View File

@@ -3,6 +3,8 @@
Cube (1.5, 2, 3,)
Cube (2.0, 5, 3,)
test_two ()
<- 2.0
}
@@ -16,6 +18,8 @@
_x = ?test ()
§Simple Pattern Creation§
!24.6:false:_x {
_e = [ ?test () + 1.0 ]