This commit is contained in:
2026-04-05 23:05:31 +03:00
parent 75ab9bec9f
commit 7582c5aee7
28 changed files with 2439 additions and 1213 deletions

10
examples/basic_long.dexpr Normal file
View File

@@ -0,0 +1,10 @@
a = 10.2
b = a + 5.5
c = 2.4
d = b + c
f = (3+3)*2/3
t = 3+3
g = t*2/3 + test

28
examples/bench_long.dexpr Normal file
View File

@@ -0,0 +1,28 @@
a = 10.2
b = a + 5.5
c = 2.4
d = b + c
"Merhaba" + " duhan".upper()
(3+3)*2/3
t = 3+3
t*2/3
if true then
"true"
else
"false"
end
aaa = false
if false && true then
"11"
else if 2 > 1 && 2 >= 2 && !aaa then
"22"
else if true then
"33"
end

View File

@@ -0,0 +1,10 @@
a = 10.2
b = a + 5.5
c = 2.4
d = b + c
f = (3+3)*2/3
t = 3+3
g = t*2/3

View File

@@ -0,0 +1,10 @@
a = 10.2
b = a + 5.5
c = 2.4
d = b + c
f = (3+3)*2/3
t = 3+3
g = t*2/3

28
examples/sample.dexpr Normal file
View File

@@ -0,0 +1,28 @@
a = 10.2
b = a + 5.5
c = 2.4
log(b + c)
log("Merhaba" + " duhan".upper())
log((3+3)*2/3)
t = 3+3
log(t*2/3)
if true then
log("true")
else
log("false")
end
aaa = false
if false && true then
log("11")
else if 2 > 1 && 2 >= 2 && !aaa then
log("22")
else if true then
log("33")
end

View File

@@ -0,0 +1,28 @@
a = 10.2
b = a + 5.5
c = 2.4
b + c
"Merhaba" + " duhan".upper()
(3+3)*2/3
t = 3+3
t*2/3
if true then
"true"
else
"false"
end
aaa = false
if false && true then
"11"
else if 2 > 1 && 2 >= 2 && !aaa then
"22"
else if true then
"33"
end