diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-30 15:23:18 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-12-30 15:23:18 +0100 |
commit | 3ba311b0afdf9cc62d630687d171bee0b6435e4a (patch) | |
tree | 6df42a2643f5d5bc43ff48641802f37cacf1d035 /doc/syntax.md | |
parent | eebb3581ec688d77ad1d3cda7f85dd7043fde19b (diff) | |
parent | b7ebccfc957095796d5d5343a4c034486a471a7f (diff) | |
download | uwu-lang-3ba311b0afdf9cc62d630687d171bee0b6435e4a.tar.xz |
Merge branch 'master' of github.com:EliasFleckenstein03/uwulang
Diffstat (limited to 'doc/syntax.md')
-rw-r--r-- | doc/syntax.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/syntax.md b/doc/syntax.md index aa62fb6..fcb30a0 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -18,10 +18,15 @@ other_function_name An expression is either of these: - Integer literal: `0`, `1`, `3245` -- String literal: `"hello, world"`, `""`, ```"this is -a multiline -string literal -"``` +- String literal: `"hello, world"`, `""`, + +``` +"this is +a multiline +string literal +" +``` + - Argument number: `$0`, `$1`, `$5` - Function reference: `&function_name` - Function call: `function_name(args)` or just `function_name`, where args is a comma-separated list of expressions. |