This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
generated from dthain/compilerbook-starter-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename T to TOKEN * Add support for comments in scanner * Resolve EOF return in scanner * Remove manually created token.h * Refactor bminor.c * Support --parse option in bminor.c * Add tests for parser * Add Makefile rules for parser * Exclude token.h and grammar.tab.c from Git * Create grammar.y * Create parser.c and parser.h
- Loading branch information
Showing
27 changed files
with
563 additions
and
182 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,7 @@ tags | |
bminor | ||
*.o | ||
lex.yy.c | ||
token.h | ||
grammar.tab.c | ||
|
||
test/**/*.out |
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
Oops, something went wrong.