new built-in getCurrentScriptDirectory; new cli option syntax; added -p option to profile programs and -H to set heap size; fixed a bug in string.cat

This commit is contained in:
Francesco Cozzuto
2023-01-19 20:14:23 +01:00
parent 37420cdea2
commit 9cc7121cd9
21 changed files with 631 additions and 255 deletions
+2 -2
View File
@@ -67,10 +67,10 @@ The `noja` executable will be generated, which is a CLI that runs Noja code.
## Usage
You can run files by doing:
```sh
location/of/noja run <filename>
location/of/noja <filename>
```
or you can run strings by doing:
```sh
location/of/noja run inline <string>
location/of/noja -i <string>
```