Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Crec and Trec

Interpreters for the Primitive Recursion language. Crec is based on combinators and Trec on Martin Löf's terms.

Primitive Recursion

Primitive recursion is a simple language, which only uses

  • numerals: 0 is a numeral, and if n is a numeral, Succ n is a numeral too (successor).
  • variables
  • Recursion on one variable. If this variable is 0, then the recursion gives b. Else the variable is the successor of a numeral n, and the result depends on n, and the recursive call on n.

Licence

This software is under GPL licence.

About

`primitive recursion interpreters

Resources

License

Releases

No releases published

Packages

No packages published