Re:How the embeddability of Lua impacted its design
by cousin_it on Monday December 03, 2012 @07:49AM
(#4865147)
It just occurred to me that a language could be made embeddable using eval() alone, with okay performance. We just need to take a page from SQL's book and introduce "prepared statements" for eval. A string of high-level code with placeholders could be parsed only once, and converted into an object you can "call" using different values for the placeholders. I'm pretty sure this isn't a new idea, though.
[ Parent
| on HN ]
There are no comments on this comment yet.