Skip to content

Commit 03a79e2

Browse files
authored
chore: set compiler version to 2.0.0 (#35)
**Description** Release 2.0.0
1 parent a92fa8b commit 03a79e2

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lm-compiler"
3-
version = "1.1.0"
3+
version = "2.0.0"
44
edition = "2024"
55

66
[lib]

README.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff 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

5038
1. 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

0 commit comments

Comments
 (0)