User loginNavigation |
eval and (infinite) recursionI'm implementing an "eval" function in a scripting language... or at least contemplating it. I can envision the infinite recursion from as simple a thing as the sequence: set a to "a" if by eval I mean do variable lookup for strings, and the eval is a "deep" eval. Is one always obliged to make the eval a 1-level shallow eval? Or is eval() generally not a variable-lookup operator? I could provide a separate one, an explicitly shallow evalWithLookup() or something... By andrewzboard at 2010-01-28 17:58 | LtU Forum | previous forum topic | next forum topic | other blogs | 4738 reads
|
Browse archivesActive forum topics
|
Recent comments
1 week 20 hours ago
1 week 5 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 5 days ago
3 weeks 1 day ago
3 weeks 1 day ago
3 weeks 1 day ago
4 weeks 3 days ago
4 weeks 4 days ago