Skip to content

Comment on Show HN: Tiniest Scheme Interpreter

Comments

I'm not entirely sure this is valid. I'm happy to be shown that I'm wrong, but it doesn't seem to support environments meaning that you couldn't implement define, making it essentially not a scheme interpreter.

I'd be impressed by an actual implementation of R5RS in a small line count, but this just seems to be a calculator with lambda expressions and lists.

c4mOP

Thanks for the feedback. It does support environments - if you check the source code it refers to environments as 'scope'. It is not possible to properly implement lambda without implementing environments.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.