mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 21:00:56 +00:00
Pork Language
.github/workflows | ||
examples | ||
gradle/wrapper | ||
src/main/kotlin/gay/pizza/pork | ||
.gitignore | ||
build.gradle.kts | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle.kts |
pork
A small BBQ language.
Very WIP. Like VERY.
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
]
}