Escaped characters stored in strings correctly

Fixed #147
This commit is contained in:
2024-10-30 21:13:57 +11:00
parent feab02e790
commit 3cb2132bfa
3 changed files with 9 additions and 38 deletions

View File

@@ -10,6 +10,9 @@ print "Hello world!";
//print a concatenated string
print "Hello" .. "world!";
//print with escaped characters
print "\tHello\nworld";
//TODO: in the repl, -s to supress output, or -d to print debugging info
//TODO: the `assert` keyword will be useful for these
//TODO: the `assert` keyword will be useful for these