xref: /NovaShell/src/main.rs (revision 7bb802ad1ee86687164e3577e7cb403d89b94963)
16e297d90SMemoryShore #![allow(non_snake_case)]
24d691f96S裕依2439 
36f50094aSMemoryShore extern crate libc;
46f50094aSMemoryShore 
56f50094aSMemoryShore #[macro_use]
681c61261SMemoryShore extern crate num_derive;
781c61261SMemoryShore 
8ca2bc756S裕依2439 mod shell;
9ca2bc756S裕依2439 
10001f2a75SMemoryShore mod keycode;
11001f2a75SMemoryShore 
12001f2a75SMemoryShore mod env;
13001f2a75SMemoryShore 
14*7bb802adSMemoryShore mod parser;
15*7bb802adSMemoryShore 
16*7bb802adSMemoryShore use env::EnvManager;
17ca2bc756S裕依2439 use shell::Shell;
186f50094aSMemoryShore 
main()196f50094aSMemoryShore fn main() {
20*7bb802adSMemoryShore     EnvManager::init();
21ca2bc756S裕依2439     let mut shell = Shell::new();
226f50094aSMemoryShore     shell.exec();
236f50094aSMemoryShore     return;
246f50094aSMemoryShore }
25