Fixed empty inputs breaking the interactive repl

Also tweaked README.md and CONTRIBUTING.md
This commit is contained in:
2024-10-08 23:11:27 +11:00
parent 0779798347
commit 9f45925072
3 changed files with 13 additions and 4 deletions

View File

@@ -23,7 +23,11 @@ This repository holds the reference implementation for Toy version 2.x, written
# Syntax
```toy
print 42; //print is a built-in keyword
//print is a built-in keyword, that can handle complex expressions
print 6 * 7;
//strings can be concatenated with the .. operator
print "Hello" .. "world!";
//more examples to be added as the features are implemented
```