Pork Language
Go to file
2023-08-19 22:20:45 -07:00
.github/workflows Initial Commit 2023-08-19 15:34:10 -07:00
examples Support if without else. 2023-08-19 20:59:14 -07:00
gradle/wrapper Initial Commit 2023-08-19 15:34:10 -07:00
src/main/kotlin/gay/pizza/pork Optional whitespace preservation. 2023-08-19 22:20:45 -07:00
.gitignore Initial Commit 2023-08-19 15:34:10 -07:00
build.gradle.kts Initial Commit 2023-08-19 15:34:10 -07:00
gradlew Initial Commit 2023-08-19 15:34:10 -07:00
gradlew.bat Initial Commit 2023-08-19 15:34:10 -07:00
LICENSE Initial Commit 2023-08-19 15:34:10 -07:00
README.md Initial Commit 2023-08-19 15:34:10 -07:00
settings.gradle.kts Initial Commit 2023-08-19 15:34:10 -07:00

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
  ]
}