Initial Commit

This commit is contained in:
2023-08-19 15:29:07 -07:00
commit 6494858f02
43 changed files with 1240 additions and 0 deletions

24
examples/syntax.pork Normal file
View File

@ -0,0 +1,24 @@
main = {
three = 3
two = 2
calculateSimple = {
(50 + three) * two
}
calculateComplex = {
three + two + 50
}
calculateSimpleResult = calculateSimple()
calculateComplexResult = calculateComplex()
list = [10, 20, 30]
trueValue = true
falseValue = false
[
calculateSimpleResult,
calculateComplexResult,
list,
trueValue,
falseValue
]
}