mirror of
https://github.com/duhanbalci/dexpr.git
synced 2026-07-01 16:19:16 +00:00
refactor
This commit is contained in:
10
examples/basic_long.dexpr
Normal file
10
examples/basic_long.dexpr
Normal 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
28
examples/bench_long.dexpr
Normal 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
|
||||
10
examples/bench_sample.dexpr
Normal file
10
examples/bench_sample.dexpr
Normal 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
|
||||
10
examples/bench_sample2.dexpr
Normal file
10
examples/bench_sample2.dexpr
Normal 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
28
examples/sample.dexpr
Normal 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
|
||||
28
examples/sample_test.dexpr
Normal file
28
examples/sample_test.dexpr
Normal 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
|
||||
Reference in New Issue
Block a user