Search found 4 matches
- Wed Apr 28, 2010 1:39 pm
- Forum: Common Lisp
- Topic: let bindings & lambda expressions
- Replies: 7
- Views: 10320
Re: let bindings & lambda expressions
hi, as I use the CL specs as a reference I want the semantics of a CL implementation. So I want to see lexical scoping. My fix I had in mind indeed solved the non-compliance. Thanx for the hint to http://stackoverflow.com/questions/2384157/how-is-lexical-scoping-implemented There are interesting lin...
- Tue Apr 27, 2010 9:11 am
- Forum: Common Lisp
- Topic: let bindings & lambda expressions
- Replies: 7
- Views: 10320
Re: let bindings & lambda expressions
hi, thanx for the comment. actually I know how to overcome (using `labels) the problems in this scenario. I just wanted to understand better (which I do now) to have a correct implementation. Unfortunately, as I'm doing an interpreter it's more difficult to inhibit the visibility of `y' in the lambd...
- Tue Apr 27, 2010 2:01 am
- Forum: Common Lisp
- Topic: let bindings & lambda expressions
- Replies: 7
- Views: 10320
Re: let bindings & lambda expressions
hi, thanx for the quick response. ... I am not sure if you quite understand the difference between lexical scope and dynamic extent . That the lambda function doesn't see the binding of Y has nothing to do with time, but it is because bindings created by LET* are not in lexical scope within their in...
- Mon Apr 26, 2010 2:52 pm
- Forum: Common Lisp
- Topic: let bindings & lambda expressions
- Replies: 7
- Views: 10320
let bindings & lambda expressions
hi Experts! I'm new so please be patient with me - I tried to search the web and this forum, but didn't find a useful hint. For my own educational purposes I'm writing a Lisp interpreter (in Java). Now I have a question related to the visibility of variables, closures, functions - and the "corr...