Working c like parsing

This commit is contained in:
2026-04-22 16:23:59 +02:00
parent 2576c77466
commit 4f2d1d3664
4 changed files with 29 additions and 32 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"entry": "src/main.ms",
"out_dir": "build",
"script": true
"script": false
}
+4 -15
View File
@@ -2,21 +2,10 @@ package main;
import "fmt";
function main() {
doSomething();
let a = doSomethingElse();
if (a + 1 == 67 + 1) {
fmt.println(a);
}
void main() {
test(67);
}
function doSomething() {
fmt.println("hello");
}
function doSomethingElse(): int {
fmt.println("world");
return 67;
void test(int x) {
fmt.println("Hello" + x);
}