DATurner/krc
1
3
Fork
You've already forked krc
0
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
  • C 98.6%
  • Makefile 1.4%
Martin Guy a51583b60d Release 1.0
Also adds a "make dist" target
2025年07月06日 18:51:46 +02:00
demo Add demo/uuencode.krc 2025年06月29日 15:58:29 +02:00
doc Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
krclib Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
oldbcpl Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
bcpl.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
bcpl.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
comphdr.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
compiler.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
COPYING Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
emas.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
emas.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
INSTALL Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
lex.c Fix compilation errors 2024年09月22日 10:50:03 +02:00
linenoise.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
linenoise.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
listhdr.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
listpack.c Fix compilation errors 2024年09月22日 10:50:03 +02:00
main.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
Makefile Release 1.0 2025年07月06日 18:51:46 +02:00
README Update to the maintenance varsion 2025年07月06日 18:51:29 +02:00
redhdr.h Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
reducer.c Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00
revision Import krc-2016年03月31日 2024年09月22日 10:07:41 +02:00

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