This commit is contained in:
nub31
2026-02-27 18:26:10 +01:00
parent b7dc77cb1c
commit 272ea33616
5 changed files with 185 additions and 144 deletions

View File

@@ -2,9 +2,9 @@ set -e
pushd math
dotnet run --project ../../compiler math.nub --type=lib
pushd .build
unzip out.nublib
popd
# pushd .build
# unzip out.nublib
# popd
popd
pushd program

View File

@@ -15,8 +15,12 @@ export enum Message {
Move: Pos
}
let x: i32
export func add(a: i32 b: i32): i32
{
let x = "test"
let msg: Message = enum Message::Move {
x = 10
y = 10