swarm/editors/vscode
Karl Ostmo 7a8035500d
spreadable plant growth (#1817)
Closes #1533

# Demo
```
scripts/test/run-tests.sh --test-options '--pattern "sow"'
```
or
```
scripts/play.sh -i data/scenarios/Testing/1533-sow-command.yaml --autoplay
```
![Screenshot from 2024-05-03 19-12-08](https://github.com/swarm-game/swarm/assets/261693/52df7de4-c158-4973-b109-5337e38c35f1)

## Other changes

* Introduced the `ChildInheritance` type to specify how the `Display` attribute is inherited by built child robots.
* Introduce the `mature` property of `growth`.  For example, it doesn't make much sense to plant an `acorn` and call the resulting, fully-grown plant also an `acorn`.  Instead, an `acorn` matures into an `oak`.
2024-05-26 20:50:27 +00:00
..
.vscode Add vscode editor integration (#255) 2021-11-11 16:15:17 +00:00
client Publish VSCode extension under swarm-game everywhere (#1477) 2023-08-28 18:20:31 +00:00
images Add vscode editor integration (#255) 2021-11-11 16:15:17 +00:00
syntaxes spreadable plant growth (#1817) 2024-05-26 20:50:27 +00:00
test planar direction sum type (#1358) 2023-07-10 15:15:34 +00:00
.gitignore Fix VSCode highlighting (#667) 2022-09-08 21:06:26 +00:00
.vscodeignore Add vscode editor integration (#255) 2021-11-11 16:15:17 +00:00
CHANGELOG.md Publish VSCode extension under swarm-game everywhere (#1477) 2023-08-28 18:20:31 +00:00
DEVELOPING.md extract doc generator to separate executable (#1671) 2023-12-04 03:45:07 +00:00
language-configuration.json Add vscode editor integration (#255) 2021-11-11 16:15:17 +00:00
LICENSE Update editors (#581) 2022-07-25 00:16:23 +02:00
package-lock.json planar direction sum type (#1358) 2023-07-10 15:15:34 +00:00
package.json Publish VSCode extension under swarm-game everywhere (#1477) 2023-08-28 18:20:31 +00:00
README.md Update editors (#581) 2022-07-25 00:16:23 +02:00

swarm-language README

This VSCode extension provides a basic highlighting and LSP client for the swarm programming language.

VSCode screenshot

Extension Settings

There are no customizations yet, sorry.

Known Issues

  • The highlighter expects type and = sign on the same line as def/let, i.e.
    def missionImpossible : cmd a -> a = ...
    
    This regexp limitation is unlikely to impact many users, but is still a departure from real swarm.