This commit is contained in:
mlokr 2024-09-01 21:05:17 +02:00
parent 9af7bf559f
commit 9012f976c5
No known key found for this signature in database
GPG key ID: DEA147DDEE644993

View file

@ -47,7 +47,7 @@ main := fn(): int {
#### arithmetic #### arithmetic
```hb ```hb
main := fn(): int { main := fn(): int {
return 10 - 20 / 2 + 4 * (2 + 2) - 4 * 4 + 1 return 10 - 20 / 2 + 4 * (2 + 2) - 4 * 4 + 1 << 0
} }
``` ```
@ -71,6 +71,7 @@ add_one := fn(x: int): int {
// commant is an item // commant is an item
main := fn(): int { main := fn(): int {
// comment is a statement // comment is a statement
foo(/* comment is an exprression /* if you are crazy */ */) foo(/* comment is an exprression /* if you are crazy */ */)
return 0 return 0
} }