latest pushes

This commit is contained in:
2024-10-03 17:01:27 -04:00
parent abad1d53a6
commit edae4c60c5
11 changed files with 519 additions and 732 deletions

View File

@@ -13,22 +13,19 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
mod executor;
mod executor_processes;
mod interpreter;
mod lexer;
mod parser;
mod utilities;
use crate::executor::executor::Executor;
use std::env;
use std::process;
use crate::executor_processes::executor::Executor;
fn main() {
let args: Vec<String> = env::args().collect();
let args: Vec<String> = std::env::args().collect();
let mut executor = Executor::new();
if let Err(e) = executor.run(args) {
eprintln!("Application error: {}", e);
process::exit(1);
std::process::exit(1);
}
}