This commit is contained in:
agra
2026-02-15 12:02:36 +02:00
parent 476bf0d268
commit 2727b5509e
61 changed files with 263 additions and 102 deletions

View File

@@ -0,0 +1 @@
42

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
Hello

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,6 @@
v1: Vec4{x: 1.000000, y: 2.000000, z: 3.000000, w: 0.000000}
v2: Vec4{x: 4.000000, y: 1.000000, z: 1.000000, w: 3.000000}
v3: Vec4{x: 2.000000, y: 3.000000, z: 4.000000, w: 0.000000}
v4: Vec4{x: 9.000000, y: 0.000000, z: 5.000000, w: 6.000000}
Complex{foo: .S(Complex.foo.B{val: hello})}

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
scope opened
scoped x: 6
scope closed
main x: 42

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,2 @@
hello 25
hello 25

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,3 @@
sum: 5
sum: 42
sum: 42.500000

View File

@@ -0,0 +1 @@
42

View File

@@ -0,0 +1 @@
still here

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,2 @@
hello thereafter hello
[1.000000, 2.000000, 3.000000]

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,16 @@
v1: Vec__3_f32{data: [1.000000, 3.000000, 2.000000]}
v2: [1.000000, 3.000000, 2.000000]
buff: [0.000000, 2.000000, 3.500000, 4.000000, 0.000000]
comp: Complex__u32{value: 42, count: 1}
add: [4.000000, 5.000000, 3.000000]
v2.x: 1.000000
v2[1]: 3.000000
scaled: [2.000000, 6.000000, 4.000000]
neg: [-1.000000, -3.000000, -2.000000]
sqrt(9): 3.000000
.counter(0.500000)
4
16
8
8
8

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
dot: 0.000000
cross: [0.000000, 0.000000, 1.000000]
length: 5.000000
norm: [0.600000, 0.800000, 0.000000]

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
f64
3.200000
Vec4
() -> s32

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
hello from the other side

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
[1.000000, 0.000000, -1.000000]

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
count: 5
break at: 12
sum of odd 1-9: 25
sum 55

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,8 @@
circle: .circle(3.140000)
radius: 3.140000
none: .circle
rect: .circle(Shape.rect{w: 4.000000, h: 2.000000})
sh: .circle(2.710000)
rect val: Shape.rect{w: 2.000000, h: 4.000000}
matched rect
case : 2

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
-3

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
containedcontainedcontained

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
60
1 2 3 4 5
60
10 20 30

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,3 @@
42 hello true 3.140000
point: (10,20) 99
3

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,7 @@
p: Point{x: 10, y: 20}
c: Color{r: 255, g: 128, b: 0}
n: 42
s: hello
b: true
&p: *Point@0xADDR
&p: *Point@0xADDR

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
5

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
[1, 2, 2, 2, 3, 3, 4, 5, 5, 6, 6, 333]

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
List__s32{items: [*]s32@0xADDR, len: 5, cap: 8}

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,9 @@
arr.len = 5
arr[1..4] = [1, 4, 1]
sub.len = 3
arr[..3] = [3, 1, 4]
arr[2..] = [4, 1, 5]
sl[1..4] = [20, 30, 40]
mid[1..] = [30, 40]
msg[6..11] = world
msg[..5] = hello

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,5 @@
before: Vec2{x: 1.000000, y: 2.000000}
after: Vec2{x: 99.000000, y: 2.000000}
copy: Vec2{x: 99.000000, y: 2.000000}
mp[0] = 10
mp[2] = 30

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,4 @@
fp(3,4) = 7
fp(3,4) = 12
apply(add,5,6) = 11
apply(mul,5,6) = 30

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,6 @@
f=3.140000
i=1078523331
x=1.000000
y=2.000000
data[0]=1.000000
data[1]=2.000000

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,26 @@
perms: .read | .write
checking: .read | .write
- can read
- can write
all: .read | .write | .execute
checking: .read | .write | .execute
- can read
- can write
- can execute
read only: .read
checking: .read
- can read
match on flags:
execute
window: .vsync | .resizable
raw value: 68
color: .blue
raw: 2
0xFF & 0x0F = 15
1 | 2 | 4 = 7