mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
Make syntax more readable
This commit is contained in:
@@ -2,4 +2,19 @@
|
||||
|
||||
> YesNt is a imperative and interpreted language inspired by the Assembly language.
|
||||
|
||||
Check out the [Wiki](https://github.com/Stone-Red-Code/YesNt-Interpreter/wiki) (Work in progress)
|
||||
## Syntax
|
||||
|
||||
Current language syntax is documented in [SYNTAX_V2.md](SYNTAX_V2.md).
|
||||
|
||||
Example:
|
||||
|
||||
```ynt
|
||||
let name = world
|
||||
print_line Hello ${name}
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
dotnet run --project YesNt.Interpreter -- path/to/script.ynt
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user