Skip to content

Commit fec1a20

Browse files
authored
Merge pull request #8 from rbartlensky/separate-compiler-from-parsetree
Restructure the compiler crate.
2 parents 9fecacf + 0413e90 commit fec1a20

File tree

12 files changed

+257
-248
lines changed

12 files changed

+257
-248
lines changed

luacompiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "luacompiler"
1010

1111
[lib]
1212
name = "luacompiler"
13-
path = "src/lib.rs"
13+
path = "src/lib/mod.rs"
1414

1515
[dependencies]
1616
cfgrammar = { git="https://github.com/softdevteam/grmtools" }

luacompiler/src/lib.rs

Lines changed: 0 additions & 234 deletions
This file was deleted.

luacompiler/src/bytecode/mod.rs renamed to luacompiler/src/lib/bytecode/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod instructions;
22

33
use bincode::{deserialize, serialize};
4-
use constants_map::ConstantsMap;
4+
use irgen::constants_map::ConstantsMap;
55
use std::{
66
fmt,
77
fs::File,
File renamed without changes.

0 commit comments

Comments
 (0)