-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull more compiler components to the bootstrap compiler (#567)
- Loading branch information
1 parent
7024379
commit 34bd9a6
Showing
45 changed files
with
797 additions
and
644 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
import "test2"; | ||
|
||
f<int> main() { | ||
TestAlias ta; | ||
} | ||
|
||
/*import "std/os/env"; | ||
import "std/os/env"; | ||
import "std/io/filepath"; | ||
import "bootstrap/ast/ast-nodes"; | ||
import "bootstrap/lexer/lexer"; | ||
import "bootstrap/parser/parser"; | ||
|
||
f<int> main() { | ||
String filePath = getEnv("SPICE_STD_DIR") + "/../test/test-files/bootstrap-compiler/standalone-parser-test/test-file.spice"; | ||
Lexer lexer = Lexer(filePath.getRaw()); | ||
String filePathString = getEnv("SPICE_STD_DIR") + "/../test/test-files/bootstrap-compiler/standalone-parser-test/test-file.spice"; | ||
FilePath filePath = FilePath(filePathString); | ||
Lexer lexer = Lexer(filePath); | ||
Parser parser = Parser(lexer); | ||
ASTEntryNode* ast = parser.parse(); | ||
assert ast != nil<ASTEntryNode*>; | ||
printf("All assertions passed!\n"); | ||
}*/ | ||
} |
Oops, something went wrong.