-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse instruction arguments both with and without the lookahead chara…
…cter; fix #203
- Loading branch information
Showing
6 changed files
with
147 additions
and
53 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,15 @@ | ||
#subruledef foo | ||
{ | ||
add => 0xaa | ||
sub => 0xbb | ||
} | ||
|
||
#ruledef Bar | ||
{ | ||
{f: foo}d => f | ||
} | ||
|
||
addd ; = 0xaa | ||
add d ; = 0xaa | ||
subd ; = 0xbb | ||
sub d ; = 0xbb |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
#ruledef | ||
{ | ||
move to {x: u8} if {y: u8} => 0x55 @ x @ y | ||
} | ||
|
||
input: | ||
.input: | ||
move to input if 0xaa ; = 0x5500aa | ||
move to .input if 0xaa ; = 0x5500aa |