Skip to content

RackhamLeNoir/recprimitive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published