rename mod

pull/5/head
azur 2023-03-01 02:26:23 +07:00
parent 375073ed6b
commit fa7e2e6986
5 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#![feature(trait_alias)]
pub mod parse;
pub mod read;
pub mod trans;
use parse::parse::{lex, parse};
use read::parse::{lex, parse};
use trans::low::{translate_expr, translate_js};
fn main() {

View File

@ -1,4 +1,4 @@
use crate::parse::past::{PExpr, PLiteral, PBinaryOp, PUnaryOp};
use crate::read::past::{PExpr, PLiteral, PBinaryOp, PUnaryOp};
use super::{
ast::{Expr, Literal, BinaryOp, UnaryOp},
js::{JSExpr, JSLiteral},