From: John Tsolometes
Subject: Definition Please First Class Lambda Function In Any Language
Date: 
Message-ID: <6ekeap$ipl@bgtnsc03.worldnet.att.net>
Excuse my lack of knowledge but,
I need a good definition of this.
First Class Lambda Function In Any Language
Esp in Lisp.
what is it and how is it implemented in machine language
what is the big deal.
btw,
what is a first class data function ?

Candidate Language: Tcl
Table of Contents
Language: Tcl
Critical Features
Important Features
Minor Features
Benchmarks
Comments

----------------------------------------------------------------------------
----
Web:  http://web.cs.ualberta.ca/~wade/Auto/Tcl.html

News:  comp.lang.tcl

Bibliography:  John K. Ousterhout. "Tcl: An Embedded Command Language".
USENIX Proceedings. 133-146. Winter 1990.
Abstract: ······@sprite.berkeley.edu





Critical Features
Feature  Max  Score  Comments

Posix  100  100


Memory-Mangement  200  200


Recursion  200  200


Separate-Compilation  200  200


Objects  100  25
 Several competing incompatible add-on object systems; all require a
modified interpreter.

Aggregates  200  150
 Points off for the multi-dimensional array kludge and lack of sets.

8bit  100  0
 Can't cope with nulls.

Modules  200  0


First-Class-Functions  100  90
 No lambda, but it's incredibly easy to write one.

First-Class-Data  200  190
 No array literals.

Totals:  1600  1155


Important Features
Feature  Max  Score  Comments

FFI  10  10


Pattern-Matching  50  35
 Just simple regexps and globbing.

Numbers  10  5
 No rationals or bignums; arithmetic is restricted to certain contexts (e.g.
expr).

Minor Features
Feature  Max  Score  Comments

Coroutines  5  0


Continuations  3  0


Currying  9  9
 Point off because 90% of the built-in functions take their arguments in
precisely the wrong order.

Reflexivity  3  3
 Pretty decent access to the interpreter.

Type-Inference  4  0


Streams  5  0


GUI  1  1
 Extremely intimate with Tk.

Persistance  3  0


Circles  3  0


Multiple-Value-Return  3  1
 One point for destructuring lassign.

Totals:  39  14


Benchmarks
Benchmark Program Run Time (secs) Space (K) Compile Time (secs) Source Size
(K bytes)
fgrep tcl 7.664 920 NA 0.31
invert tcl 6.699 1904 NA 0.35
tak tcl 34.371 901 NA 0.34

Comments

----------------------------------------------------------------------------
----

·········@uchicago.edu
Send me email.
This page last updated: Mon Sep 9 16:49:29 CDT 1996