more docs

This commit is contained in:
Sergey Chernov 2025-05-30 12:41:39 +04:00
parent 1479df4426
commit f4a3ad4c19
2 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,8 @@
Each block has own scope, in which it can safely uses closures and override
outer vars:
> blocks are no-yet-ready lambda declaration so this sample will soon be altered
var param = "global"
val prefix = "param in "
val scope1 = {

View File

@ -4,6 +4,13 @@ Ling is a very simple language, where we take only most important and popular fe
other scripts and languages. In particular, we adopt _principle of minimal confusion_[^1].
In other word, the code usually works as expected when you see it. So, nothing unusual.
__Other documents to read__ maybe after this one:
- [Advanced topics](advanced_topics.md)
- [OOP notes](OOP.md)
- [math in Ling](math.md)
- Some class references: [List](List.md), [Real](Real.md)
# Expressions
Everything is an expression in Ling. Even an empty block: