Skip to content

Commit 92940f2

Browse files
committed
add references to README
1 parent 5abf8c3 commit 92940f2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,13 @@ Or `r` for raw mode:
112112
* [Matt Might: 7 lines of code, 3 minutes](http://matt.might.net/articles/implementing-a-programming-language/)
113113
* [Tom Stuart: Programming with Nothing](http://codon.com/programming-with-nothing)
114114
* [Erkki Lindpere: Parsing Lambda Calculus in Scala](http://zeroturnaround.com/rebellabs/parsing-lambda-calculus-in-scala/)
115+
116+
## References
117+
118+
* [Jean-Louis Krivine: A call-by-name lambda-calculus machine](http://www.pps.univ-paris-diderot.fr/~krivine/articles/lazymach.pdf)
119+
* [Rémi Douence, Pascal Fradet: The Next 700 Krivine Machines](http://pop-art.inrialpes.fr/~fradet/PDFs/HOSC07.pdf)
120+
* [Xavier Leroy: The Zinc Experiment](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.43.6772)
121+
* [John Tromp: Binary Lambda Calculus and Combinatory Logic](http://homepages.cwi.nl/~tromp/cl/LC.pdf)
122+
* [John Tromp: Binary Lambda Calculus interpreter for IOCCC](http://www.ioccc.org/2012/tromp/hint.html)
123+
* [Binary Lambda Calculus in Python](https://github.com/sdiehl/bnlc)
124+
* [Krivine Machine in Scheme](https://github.com/ympbyc/Carrot)

src/krivine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function push($args, $code, $env, $stack)
155155
function grab($args, $code, $env, $stack)
156156
{
157157
list($code0, $env0) = first($stack);
158-
$code0 = $code0 ?: [['unclosed_term']];
158+
$code0 = $code0 ?: [];
159159
$env0 = $env0 ?: [];
160160

161161
array_unshift($env, [$code0, $env0]);

0 commit comments

Comments
 (0)