mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
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:
parent
3032d3c115
commit
7f3eccded8
@ -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)
|
||||
|
@ -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>`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user