KRC, the modestly-named Kent Recursive Calculator, is a simple lazy pure functional language designed and implemented by Professor David Turner around 1979-81. His next language, Miranda, was the inspiration for Haskell so KRC is a sort of minimal Haskell that runs in little memory.
http://krc-lang.org
|
|
||
|---|---|---|
| demo | Add demo/uuencode.krc | |
| doc | Import krc-2016年03月31日 | |
| krclib | Import krc-2016年03月31日 | |
| oldbcpl | Import krc-2016年03月31日 | |
| bcpl.c | Import krc-2016年03月31日 | |
| bcpl.h | Import krc-2016年03月31日 | |
| comphdr.h | Import krc-2016年03月31日 | |
| compiler.c | Import krc-2016年03月31日 | |
| COPYING | Import krc-2016年03月31日 | |
| emas.c | Import krc-2016年03月31日 | |
| emas.h | Import krc-2016年03月31日 | |
| INSTALL | Import krc-2016年03月31日 | |
| lex.c | Fix compilation errors | |
| linenoise.c | Import krc-2016年03月31日 | |
| linenoise.h | Import krc-2016年03月31日 | |
| listhdr.h | Import krc-2016年03月31日 | |
| listpack.c | Fix compilation errors | |
| main.c | Import krc-2016年03月31日 | |
| Makefile | Release 1.0 | |
| README | Update to the maintenance varsion | |
| redhdr.h | Import krc-2016年03月31日 | |
| reducer.c | Import krc-2016年03月31日 | |
| revision | Import krc-2016年03月31日 | |
This is the maintenance version of Professor David Turner's 1980 implementation of the lazy functional programming system, Kent Recursive Calculator, translated from the original BCPL source code into C and adapted from EMAS to Unix. For compilation and installation instructions, see the file INSTALL. The source files in this directory use a dialect of C very close to the style used in the original BCPL. Check the file bcpl.h for a summary of this BCPL-like syntax. I am grateful to Martin Guy for devising this translation scheme and for his help in getting KRC running again. I remain responsible for all errors, whether in the original code or in its new incarnation. The original BCPL code can be found in oldbcpl. A manual for the KRC language and system can be found in doc/krc.1 There is a small collection of example KRC scripts in demo Bug reports, fixes and comments can be posted as issues at https://codeberg.org/DATurner/krc/issues Martin Guy, ex-University of Kent July 2025