START OF COMPILER

This commit is contained in:
2024-10-11 17:31:03 -04:00
parent bb3a0ad113
commit de79445ede
39 changed files with 710 additions and 94 deletions

31
data/err.lang Normal file
View File

@@ -0,0 +1,31 @@
fn main() {
// let x = 3;
let y = 4 + 4 + 5;
let z = 1 * 2 - 3 / test * 4;
let r = 1-2.5 + 3;
let w = 1 * (2 - 3) / "test" - 7
let a = test('3');
let c = '3' ;
test(5);
return 5 +
a;
r = )!!;
r = !3;
r = 3 + !;
let b = (test2.func)(3 + 4)(8)("a");
let x = {
return 5;
let a = 3;
b
};
}
fn test() {
let r = 3;
let a = }
}
fn test2() {
}