Skip to content

GayPizzaSpecifications/pork

Repository files navigation

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'

About

Pork: A Programming Language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages