-
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.
refactor(compiler): restructure compiler architecture and update entr…
…y hashing - Added `//go:build experimental` and `+build experimental` tags to `mo_compiler.go`. - Refactored `compiler` namespace in `structure.puml`: - Replaced `Compiler` class with an interface. - Introduced `MoCompiler` and `PoCompiler` classes to separate responsibilities. - Updated relationships and structure to reflect new design. - Updated `Entry.Hash()` method in `entry.go` to include a comment clarifying the EOT byte usage. - Updated binary files (`structure.png`) to reflect changes in the UML diagrams.
- Loading branch information
Showing
6 changed files
with
33 additions
and
13 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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
//go:build experimental | ||
// +build experimental | ||
|
||
package compiler | ||
|
||
import ( | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -25,6 +25,7 @@ namespace po { | |
+ Str string | ||
+ Locations []Location | ||
|
||
+ Hash() uint | ||
+ String() string | ||
|
||
} | ||
|