Files
YesNt-Interpreter/docs
Stone_Red 8ec4f4baa0 Remove out of date api docs
Updated documentation for the library API, including changes to the usage of `StatementAttribute`, script execution on a background thread, and removed outdated blocking script example.
2026-03-06 18:14:19 +01:00
..
2026-03-06 01:16:08 +01:00
2026-03-06 18:14:19 +01:00
2026-03-06 01:16:08 +01:00

YesNt Documentation

YesNt is a line-based, interpreted scripting language. Each line is one statement. There are no multi-line expressions.

Guides

Document Description
Language Reference Every statement, token, and operator in the language
Library API How to embed the interpreter in a C# project
Editor How to use the terminal code editor

Quick start

Running a script from the command line

yesnt path/to/script.ynt

Hello world

print_line Hello, world!

Variables and output

var name = Alice
print_line Hello, ${name}!

Functions

func greet:
    var msg = Hello, ${name}!
    print_line ${msg}
return

var name = Bob
call greet

Script files use the .ynt extension by convention.