Add proper docs

This commit is contained in:
Stone_Red
2026-03-04 23:33:08 +01:00
parent 163bf677ae
commit 882c4f3a51
7 changed files with 1198 additions and 8 deletions
+10 -6
View File
@@ -1,12 +1,17 @@
# YesNt
> YesNt is a imperative and interpreted language inspired by the Assembly language.
## Syntax
## Documentation
Current language syntax is documented in [SYNTAX_V2.md](SYNTAX_V2.md).
| Document | Description |
| -------------------------------------------------------- | ----------------------------------------- |
| [docs/README.md](docs/README.md) | Getting started |
| [docs/language-reference.md](docs/language-reference.md) | Full language reference |
| [docs/library-api.md](docs/library-api.md) | Embedding the interpreter as a C# library |
| [docs/editor.md](docs/editor.md) | Using the terminal code editor |
Example:
## Quick example
```ynt
var name = world
@@ -16,6 +21,5 @@ print_line Hello ${name}
## Run
```bash
dotnet run --project YesNt.Interpreter -- path/to/script.ynt
dotnet run --project YesNt.Interpreter.App -- path/to/script.ynt
```