Split project into three workspaces: hel (the library), helcli (the tool) and helwasm (the wasm code). Move wasm incompatible code to extra modules in utils.rs to be implementable separately for wasm.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
extern crate hel;
|
||||
|
||||
use hel::structs::init;
|
||||
|
||||
pub fn main() {
|
||||
let mut lkread = match init() { Some(r) => r, None => { return; } };
|
||||
|
||||
while lkread.read().eval().print() {
|
||||
lkread.refresh();
|
||||
}
|
||||
lkread.quit();
|
||||
}
|
||||
Reference in New Issue
Block a user