File tree Expand file tree Collapse file tree 3 files changed +8
-19
lines changed
Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " lm-compiler"
3- version = " 1.1 .0"
3+ version = " 2.0 .0"
44edition = " 2024"
55
66[lib ]
Original file line number Diff line number Diff line change @@ -16,35 +16,23 @@ Simple compiler written in Rust using:
1616
1717| Feature| Status| File/s|
1818| -------| ------| ------|
19- | Lexer| ✅| [ rflex lexer file] ( ./src/lex.l ) |
20- | Grammar| ✅| [ rustemo grammar file] ( ./src/rustemo. grammar ) |
19+ | Lexer| ✅| [ rflex lexer file] ( ./src/lexer/ lex.l ) |
20+ | Grammar| ✅| [ rustemo grammar file] ( ./src/grammar/rules.rustemo ) |
2121| Symbol table| ✅| Generate running the executable|
2222| Tests| ✅| Run using ` cargo test ` |
2323
2424### v2.0.0
2525| Feature| Status| File/s|
2626| -------| ------| ------|
27- | Intermediate code(Tree)| 🏗️ | - |
28- | Tests| 🏗️ | - |
27+ | Intermediate code(Tree)| ✅ | [ ast ] ( ./src/compiler/ast.rs ) |
28+ | Tests| ✅ | Run using ` cargo test ` |
2929
3030### v3.0.0
3131| Feature| Status| File/s|
3232| -------| ------| ------|
3333| Assembler output| 🏗️| -|
3434| Linking script| 🏗️| -|
3535
36- ## Compiling
37-
38- 1 . Compile in debug mode
39- ``` Shell
40- cargo build
41- ```
42-
43- 2 . Compile in release mode
44- ``` Shell
45- cargo build --release
46- ```
47-
4836## Running the compiler
4937
50381 . Run in debug mode
@@ -69,11 +57,12 @@ cargo test
6957
7058## Generated files
7159
72- When running the compiler it will output 3 files to the path of the source file
60+ When running the compiler it will output 4 files to the path of the source file
7361
7462- \< source-file-name\> .parser
7563- \< source-file-name\> .lexer
7664- \< source-file-name\> .symbol_table
65+ - \< source-file-name\> .dot
7766
7867## Cli reference
7968
You can’t perform that action at this time.
0 commit comments