Merge branch 'main' of https://github.com/Alessandro-Salerno/Noja into main
This commit is contained in:
@@ -56,16 +56,10 @@ The interpreter is fully functional, but lots of built-in functions that one wou
|
|||||||
## Build
|
## Build
|
||||||
To build it, just run:
|
To build it, just run:
|
||||||
```sh
|
```sh
|
||||||
$ ./build.sh
|
$ make
|
||||||
```
|
```
|
||||||
it will create a `build` folder where the interpreter's executable will be generated.
|
it will create a `build` folder where the interpreter's executable will be generated.
|
||||||
|
|
||||||
You may need to give executable permissions to the script. You can do so with by running:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ chmod +x build.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
You can run files by doing:
|
You can run files by doing:
|
||||||
```sh
|
```sh
|
||||||
@@ -75,4 +69,4 @@ location/of/noja run <filename>
|
|||||||
or you can run strings by doing:
|
or you can run strings by doing:
|
||||||
```sh
|
```sh
|
||||||
location/of/noja run inline <string>
|
location/of/noja run inline <string>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user