Author: leo
Date: Thu Jul 28 03:34:25 2005
New Revision: 8711
Added:
branches/leo-ctx5/languages/unlambda/README
- copied unchanged from rev 8710, trunk/languages/unlambda/README
Modified:
branches/leo-ctx5/build_tools/pmc2c.pl
branches/leo-ctx5/dynclasses/README
branches/leo-ctx5/languages/LANGUAGES.STATUS
branches/leo-ctx5/languages/unlambda/unl.pir
Log:
merge -r8707:8710 from trunk
Modified: branches/leo-ctx5/build_tools/pmc2c.pl
==============================================================================
--- branches/leo-ctx5/build_tools/pmc2c.pl (original)
+++ branches/leo-ctx5/build_tools/pmc2c.pl Thu Jul 28 03:34:25 2005
@@ -152,12 +152,12 @@ which the class implements).
The default is "scalar". Other currently used interfaces are:
- array
- event
- hash
- library
- ref
- scalar
+ array : container PMC with numerically-keyed elements
+ event : PMC that can be used with event queue
+ hash : container PMC with string-keyed elements
+ library : PMC that corresponds to a dynamic library
+ ref : PMC that references another PMC
+ scalar : (only used by the sample dynclasses/foo.pmc)
This is not a canonical list, but merely a snapshot of what's in use.
Modified: branches/leo-ctx5/dynclasses/README
==============================================================================
--- branches/leo-ctx5/dynclasses/README (original)
+++ branches/leo-ctx5/dynclasses/README Thu Jul 28 03:34:25 2005
@@ -58,8 +58,10 @@ and then in your .imc or .pasm file:
=item 2
Edit C<../config/gen/makefiles/dynclasses.in> and append your PMC(s) to
-the build target and:
-
+the build target. The dynclasses.in file is processed by Configure.pl to
+create the real makefiles. So, invoke the configure script, then make:
+
+ $ perl Configure.pl
$ make
=item 3
Modified: branches/leo-ctx5/languages/LANGUAGES.STATUS
==============================================================================
--- branches/leo-ctx5/languages/LANGUAGES.STATUS (original)
+++ branches/leo-ctx5/languages/LANGUAGES.STATUS Thu Jul 28 03:34:25 2005
@@ -197,6 +197,15 @@ S: passes about 10% of *tcl*'s test suit
M: Yes
V: Current
+N: unlamba
+A: Leopold Tötsch
+D: unlambda is a pure functional programming language with mostly eager
+D: evaluation following the SKI calculus (+ a few extensions)
+S: Errors on HEAD branch, which will go away after complete merge of
+S: Leo's branch,
+W: http://www.madore.org/~david/programs/unlambda/
+V: 0.2.2
+
N: URM
A: Marcus Thiesen
S: Functioning, all examples working
Modified: branches/leo-ctx5/languages/unlambda/unl.pir
==============================================================================
--- branches/leo-ctx5/languages/unlambda/unl.pir (original)
+++ branches/leo-ctx5/languages/unlambda/unl.pir Thu Jul 28 03:34:25 2005
@@ -1,7 +1,22 @@
-#
-# unlambda interpreter
-# http://www.madore.org/~david/programs/unlambda/
-# by leo
+# $Id$
+
+=head1 DESCRIPTION
+
+This is an unlambda interpreter.
+unlambda is a pure functional programming language with mostly eager
+evaluation following the SKI calculus (+ a few extensions).
+
+The parrot implementation uses closures, continuations, and tailcalls.
+
+=head1 AUTHOR
+
+leo
+
+=head1 SEE ALSO
+
+L<http://www.madore.org/~david/programs/unlambda/>
+
+=cut
.sub _main @MAIN
.param pmc argv
@@ -149,7 +164,7 @@ nl:
cl = 'r'
goto done
-no_pr:
+unlno_pr:
$S0 = f
cl = $S0
done: