News for hackers. Stuff that matters.
Re:Roll your own minilanguages with mini-interpreters (1989) by vidarh on Tuesday July 06, 2021 @08:04AM (#27747289)
What you're describing is mostly an implementation detail to me. The point of this example is not that you can't do it in a higher level language. The point is to illustrate the power of being able to create a list of code as data. Everything else is implementation detail.
Re:Roll your own minilanguages with mini-interpreters (1989) by valenterry on Tuesday July 06, 2021 @08:22AM (#27747474)
Well, I totally agree with you! My whole point was to offer an alternative that makes this implementation easier and offers some nice extras (while sacrificing free choice of syntax). :)