|
To lambda or not to lambda: msg#00114os.tunes
I have, at last, achieved a first the step in the implementation of OIL in OIL. I have an expression evaluator, which is about 4O lines long, and which is almost the equivalent of the eval of OIL. It's only almost equivalent, because it does not handle lambdas the same way. In fact it's as there were no lambda at all, since you can write this : ('(= arg0 nil) nil) => true As you have probably noticed a long time ago, lambda is somewhat equivalent to quote. With my new evaluator, (lambda 'body) just returns body. So it's the same as 'body. So I'm heading towards getting rid of lambdas, and that will probably make OIL a little bit closer to Forth or Joy. -- Laurent Martelli martelli@xxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Slate for Tunes HLL? (was: Lambda (was: RefactoringinTunes)): 00114, Massimo Dentico |
|---|---|
| Next by Date: | Patterns and Compositionality: 00114, Massimo Dentico |
| Previous by Thread: | Tunes Archaeologyi: 00114, Brian T. Rice |
| Next by Thread: | Patterns and Compositionality: 00114, Massimo Dentico |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |