more docs
This commit is contained in:
parent
1479df4426
commit
f4a3ad4c19
@ -5,6 +5,8 @@
|
|||||||
Each block has own scope, in which it can safely uses closures and override
|
Each block has own scope, in which it can safely uses closures and override
|
||||||
outer vars:
|
outer vars:
|
||||||
|
|
||||||
|
> blocks are no-yet-ready lambda declaration so this sample will soon be altered
|
||||||
|
|
||||||
var param = "global"
|
var param = "global"
|
||||||
val prefix = "param in "
|
val prefix = "param in "
|
||||||
val scope1 = {
|
val scope1 = {
|
||||||
|
@ -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].
|
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.
|
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
|
# Expressions
|
||||||
|
|
||||||
Everything is an expression in Ling. Even an empty block:
|
Everything is an expression in Ling. Even an empty block:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user