-
-
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.
Re-organize source file in bootstrap compiler
- Loading branch information
1 parent
e44a7c2
commit 87e183a
Showing
30 changed files
with
84 additions
and
127 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
src-bootstrap/ast/AbstractASTVisitor.spice → src-bootstrap/ast/abstract-ast-visitor.spice
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,3 +1,4 @@ | ||
// Std imports | ||
import "std/type/any"; | ||
|
||
public type IAbstractAstVisitor interface { | ||
|
6 changes: 3 additions & 3 deletions
6
src-bootstrap/ast/ASTBuilder.spice → src-bootstrap/ast/ast-builder.spice
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
2 changes: 1 addition & 1 deletion
2
src-bootstrap/CompilerPass.spice → src-bootstrap/compiler-pass.spice
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src-bootstrap/exception/CliError.spice → src-bootstrap/exception/cli-error.spice
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
2 changes: 1 addition & 1 deletion
2
src-bootstrap/exception/LinkerError.spice → src-bootstrap/exception/linker-error.spice
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
12 changes: 6 additions & 6 deletions
12
...tstrap/global/GlobalResourceManager.spice → ...trap/global/global-resource-manager.spice
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
4 changes: 3 additions & 1 deletion
4
src-bootstrap/generator/generator.spice → src-bootstrap/irgenerator/ir-generator.spice
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,4 +1,6 @@ | ||
// Imports | ||
// Std imports | ||
|
||
// Own imports | ||
|
||
public type Generator struct { | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Imports | ||
import "../lexer/token"; |
2 changes: 1 addition & 1 deletion
2
src-bootstrap/lexer/Token.spice → src-bootstrap/lexer/token.spice
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,5 +1,5 @@ | ||
// Imports | ||
import "../util/CodeLoc"; | ||
import "../reader/code-loc"; | ||
|
||
// Enums | ||
public type TokenType enum { | ||
|
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
1 change: 1 addition & 0 deletions
1
src-bootstrap/model/Function.spice → src-bootstrap/model/function.spice
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,3 +1,4 @@ | ||
// Std imports | ||
import "std/data/vector"; | ||
import "std/data/map"; | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
src-bootstrap/parser/Parser.spice → src-bootstrap/parser/parser.spice
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,5 +1,5 @@ | ||
// Imports | ||
import "../lexer/Token" as tk; | ||
// Own imports | ||
import "../lexer/token"; | ||
|
||
public type Parser struct { | ||
|
||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src-bootstrap/lexer/Reader.spice → src-bootstrap/reader/reader.spice
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
6 changes: 3 additions & 3 deletions
6
src-bootstrap/SourceFile.spice → src-bootstrap/source-file.spice
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
2 changes: 2 additions & 0 deletions
2
src-bootstrap/symbol/Scope.spice → src-bootstrap/symboltablebuilder/scope.spice
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,5 +1,7 @@ | ||
// Std imports | ||
import "std/data/map"; | ||
|
||
// Own imports | ||
|
||
type ScopeType enum { | ||
GLOBAL, | ||
|
File renamed without changes.
Oops, something went wrong.