Syntax
From Pit
Pit is a curly-brace language; that is, it uses semicolons between statements and curly-braces to group statements.
Runes:
- Symbols (functions and variables) are prefixed with $
- User-defined types are prefixed with @
- Code labels are prefixed with #
Braces {} group statements and literal values for complex variables.
Brackets [] surround type-expressions, for example around typecasts.
Parens () group math expressions, parameters for functions, and indexes for strings, structs, arrays, and hashes.
Postfix <- means reference, and -> means dereference.