update everything to 1.0

This commit is contained in:
afonya 2025-06-18 16:44:35 +02:00
parent e245fdee73
commit 048f5079ae
Signed by: afonya
GPG key ID: EBB9C4CAFAAFB2DC
6 changed files with 28 additions and 7 deletions

View file

@ -1,7 +1,7 @@
use std::{collections::HashMap, fs, process, vec};
use crate::{errors::{create_error, print_error, ErrorSubType, ErrorType}, lexer::lex, parser::{parse, ASTPart}, Context};
const ASXVERSION: [u8; 3] = [0,2,0];
const ASXVERSION: [u8; 3] = [1,0,0];
#[derive(Debug, Clone)]
pub struct Operation {

View file

@ -1,6 +1,6 @@
use std::collections::HashMap;
const ASXVERSION: [u8; 3] = [0,2,0];
const ASXVERSION: [u8; 3] = [1,0,0];
#[derive(Debug, Clone)]
pub struct DecompiledFunction {

View file

@ -1022,7 +1022,6 @@ fn krumpli_folytat(machine: &mut Machine, op: &DecompiledOperation, args: Vec<VM
return VMMemory::Null(VMMemoryNull { variable_id: 0 });
}
let vm = vm.unwrap();
println!("{:?}", vm.functions);
match vm.state {
VMState::Paused => {
vm.memory = machine.memory.clone();

View file

@ -10,7 +10,7 @@ mod virtualmachine;
mod errors;
mod decompiler;
const CLIVER: [u8; 3] = [0, 3, 0];
const CLIVER: [u8; 3] = [1,0,0];
#[derive(Debug, Clone)]
struct Context {