File:
while true {
1g.move(0, 10, 0.5)
1g.move(10, 0, 0.5)
1g.move(-10, 0, 0.5)
1g.move(0, -10, 0.5)
}
Error:
Parsing ...
Building script ...
———————————————————————————
Error: Syntax error
╭─[../test.spwn:1:1]
│
1 │ ╭─▶ while true {
6 │ ├─▶ }
· │
· ╰─────── 1: Error when running this library/module
│
├─[/home/bgh/Downloads/spwn/libraries/std/lib.spwn:2:17]
│
2 │ let constants = import "constants.spwn"
· ───────────┬───────────
· ╰───────────── 2: Error when parsing this library/module
│
├─[/home/bgh/Downloads/spwn/libraries/std/constants.spwn:4:1]
│
4 │ type @Comparison
· ──┬─
· ╰─── 3: Expected a value, found keyword: "type"
───╯
File:
while true {
1g.move(0, 10, 0.5)
1g.move(10, 0, 0.5)
1g.move(-10, 0, 0.5)
1g.move(0, -10, 0.5)
}
Error:
Parsing ...
Building script ...
———————————————————————————
Error: Syntax error
╭─[../test.spwn:1:1]
│
1 │ ╭─▶ while true {
6 │ ├─▶ }
· │
· ╰─────── 1: Error when running this library/module
│
├─[/home/bgh/Downloads/spwn/libraries/std/lib.spwn:2:17]
│
2 │ let constants = import "constants.spwn"
· ───────────┬───────────
· ╰───────────── 2: Error when parsing this library/module
│
├─[/home/bgh/Downloads/spwn/libraries/std/constants.spwn:4:1]
│
4 │ type @Comparison
· ──┬─
· ╰─── 3: Expected a value, found keyword: "type"
───╯