-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make semicolons mandatory to eventually allow for expression blocks
This makes the syntax more cluttered, but should eventually be worth it. Gets rid of automatic semicolon insertion.
- Loading branch information
1 parent
785498d
commit 312655c
Showing
37 changed files
with
906 additions
and
805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// seed.paw | ||
|
||
fn math_operations() { | ||
let a = $ | ||
let b = $a | ||
|
||
let a = $ | ||
let b = $ | ||
let c = a $ b | ||
} | ||
|
||
pub fn main() { | ||
math_operations() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.