safe commit, because actually reading about good practices now, so rework incomming uwu
This commit is contained in:
parent
05ebc02909
commit
2f99969f12
9 changed files with 57 additions and 20 deletions
15
syntax.akai
15
syntax.akai
|
|
@ -25,14 +25,29 @@ fun helloWorld() {
|
|||
print("Hello World " + bar)
|
||||
}
|
||||
|
||||
fun returnsInteger(int: i): int {
|
||||
-> i + 1
|
||||
}
|
||||
|
||||
/*
|
||||
Keywords/ Tokens:
|
||||
- class
|
||||
- interface
|
||||
- fun
|
||||
- var
|
||||
|
||||
- derive // Inheritance for classes
|
||||
- impl // for interfaces
|
||||
|
||||
// Standard keywords for basic stuff
|
||||
- int
|
||||
- float
|
||||
- char
|
||||
- bool
|
||||
- if
|
||||
- else
|
||||
- enum
|
||||
|
||||
- (
|
||||
- )
|
||||
- {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue