YesNt is a line-based, interpreted scripting language. Each line is one statement. There are no multi-line expressions.
| 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 |
yesnt path/to/script.yntprint_line Hello, world!
var name = Alice
print_line Hello, ${name}!
func greet:
var msg = Hello, ${name}!
print_line ${msg}
return
var name = Bob
call greet
Script files use the .ynt extension by convention.