mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00

only transformed configs/with_string so far, but other configs/* should follow soon. also, this will help with implementing new stdlib functions in the future.
19 lines
192 B
Markdown
19 lines
192 B
Markdown
# IN CODE
|
|
|
|
rm mers_lib/src/program/configs/util.rs
|
|
|
|
# Objects
|
|
|
|
```
|
|
o := {
|
|
c: 12
|
|
x: 5.0
|
|
y: 3.2
|
|
coords: o -> o.c
|
|
println: o -> "aaa".println
|
|
}
|
|
|
|
{ println: println } := o
|
|
o.println
|
|
```
|