Initial commit
This commit is contained in:
27
src/reserved_words.md
Normal file
27
src/reserved_words.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Reserved Words
|
||||
|
||||
This is a list of all reserved words in Solstice, seperated by new lines. These words may not be used as identifiers.
|
||||
|
||||
After `//`, notes may be provided which detail exceptions to the reserved word, however, the word should still be treated as reserved regardless.
|
||||
|
||||
```solstice
|
||||
puts
|
||||
if
|
||||
while
|
||||
def
|
||||
lambda
|
||||
return
|
||||
use
|
||||
struct
|
||||
enum
|
||||
constructor
|
||||
destructor
|
||||
duplicator
|
||||
private
|
||||
protected
|
||||
ground // Only when targeting GroundVM
|
||||
new
|
||||
as
|
||||
sizeof
|
||||
pragma
|
||||
```
|
||||
Reference in New Issue
Block a user