Skip to content

Commit 1cabc7f

Browse files
authored
Merge pull request #42 from Heathcorp/Heathcorp-patch-1
Update devguide.md
2 parents 80b558d + c8eb9f0 commit 1cabc7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

devguide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ The compiler codebase has two main entrypoints: `main.rs` and `lib.rs`, for the
2323

2424
Key files to look at:
2525

26-
- `tokeniser.rs`: tokenises the raw text files into Mastermind syntax tokens.
27-
- `parser.rs`: parses strings of tokens into higher-level Mastermind clauses.
28-
- `compiler.rs`: compiles the high-level clauses into a list of basic instructions akin to an intermediate representation (IR).
29-
- `builder.rs`: takes the basic instructions from the compiler and builds the final Brainfuck program.
26+
- `parser/tokens.rs`: functions for converting raw text into Mastermind syntax tokens.
27+
- `parser/parser.rs`: function to convert raw text into higher-level Mastermind clauses, uses the above.
28+
- `frontend/*.rs`: compiles the high-level clauses into a list of basic instructions akin to an intermediate representation (IR).
29+
- `backend/common.rs`: takes the basic instructions from the compiler and builds the final Brainfuck program.
3030

3131
Some key commands:
3232

0 commit comments

Comments
 (0)