mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 12:50:55 +00:00
Pork Language
Bumps the actions-updates group with 3 updates in the / directory: [actions/setup-java](https://github.com/actions/setup-java), [gradle/actions](https://github.com/gradle/actions) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/setup-java` from 4.7.0 to 4.7.1 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits]( |
||
---|---|---|
.github | ||
ast | ||
bir | ||
buildext | ||
bytecode | ||
common | ||
compiler | ||
evaluator | ||
examples | ||
execution | ||
ffi | ||
frontend | ||
gradle/wrapper | ||
minimal | ||
parser | ||
stdlib | ||
support/pork-idea | ||
tokenizer | ||
tool | ||
vm | ||
.editorconfig | ||
.gitignore | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle.kts |
pork
A work-in-progress programming language.
/* fibonacci sequence */
func fib(n) {
return if n < 2 {
n
} else {
fib(n - 1) + fib(n - 2)
}
}
export func main() {
let result = fib(20)
println(result)
}
Usage
./gradlew -q tool:run --args 'run ../examples/fib.pork'