-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use parens to demarcate expressions in AST parsing
Gamelan music currently playing: Pelog Barang - Singa Nebah co-authored-by: Connor Walsh <[email protected]> co-authored-by: Octavia <[email protected]>
- Loading branch information
1 parent
c0b0f17
commit d2c799f
Showing
4 changed files
with
95 additions
and
11 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
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
|
||
|
||
(❦ add (arg1 arg2) ( | ||
(≡ a (+ arg1 arg2)) | ||
(return a) | ||
(≡ x arg1) | ||
(≡ y arg2) | ||
(+ x (+ y 1)) | ||
)) | ||
|
||
(add 2 3) | ||
|