Move LK structure into own file.

This commit is contained in:
Kiyomichi Kosaka
2022-12-03 11:43:48 +00:00
parent 0818d93f9a
commit 50a3398ad9
4 changed files with 42 additions and 38 deletions
+2 -1
View File
@@ -4,13 +4,14 @@ extern crate lazy_static;
mod structs;
mod parser;
mod repl;
mod lk;
use std::{cell::RefCell, rc::Rc};
use std::collections::HashMap;
use rustyline::Editor;
use crate::structs::LK;
use crate::lk::LK;
use crate::repl::LKRead;
pub fn main() {