put docs/intro before docs/syntax_cheat_sheet in README and add new reference type syntax to docs/syntax_cheat_sheet

This commit is contained in:
mark 2023-06-12 22:02:13 +02:00
parent 3032d3c115
commit 7f3eccded8
2 changed files with 3 additions and 3 deletions

View File

@ -31,10 +31,10 @@ Now, create a new text file (or choose one from the examples) and run it: `mers
## Docs
[syntax cheat sheet](docs/syntax_cheat_sheet.md)
[intro](docs/intro.md)
[syntax cheat sheet](docs/syntax_cheat_sheet.md)
[builtins](docs/builtins.md)
[statements](docs/statements.md)

View File

@ -10,7 +10,7 @@
- list: `[<type> ...]`
- function: `fn(<input-output-map>)` (might change? depends on implementation of generics)
- thread: `thread(<return_type>)`
- reference: `&<type>`
- reference: `&<type>` or `&(<type1>/<type2>/<...>)`
- enum: `EnumName(<type>)`
- one of multiple types: `<type1>/<type2>/<type3>`