mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Tweaked README
This commit is contained in:
@@ -29,9 +29,14 @@ print 6 * 7;
|
|||||||
//strings can be concatenated with the .. operator
|
//strings can be concatenated with the .. operator
|
||||||
print "Hello" .. "world!";
|
print "Hello" .. "world!";
|
||||||
|
|
||||||
//declare a variable
|
//variables are declared easily
|
||||||
var foobar = 42;
|
var foobar = 42;
|
||||||
|
|
||||||
|
//scopes allow for shadowing and rebinding
|
||||||
|
{
|
||||||
|
var foobar = foobar * 7;
|
||||||
|
}
|
||||||
|
|
||||||
//more examples to be added as the features are implemented
|
//more examples to be added as the features are implemented
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -45,7 +50,7 @@ To build and run the standard available tests, run `make tests`.
|
|||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
|
|
||||||
*Coming Soon, see #126 for details.*
|
*Coming Soon, see [#126](https://github.com/Ratstail91/Toy/discussions/126) for details.*
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user