Dynamic Interpretation
- Posted by Timothy Hemphill <elfinman at yahoo.com> Sep 22, 2000
- 375 views
Hey y'all, I'm trying to make a Euphoria program that interprets user input dynamically, LISP-like. As in, the user enters a string that is a Euphoria statement, and the program interprets it, making kind of a running mini-program that the user edits as they go along. Has anyone thought of this kind of thing before, or actually implemented it? Is it even possible, or would it only be possible with something new added to the Euphoria executable? Right now I'm thinking writing user input to a text file, then somehow reading it back in...but that seems slow, inefficient, and I still don't know how to interpret what's read in, with totally passing control to the mini-program. Oh, and I'd like to be able to do it in Euphoria, but I don't know if you'd have to use C or C++ or something. I don't know if 'dynamic interpretation' is the right phrase, but I couldn't think of anything better. If anyone has any suggestions, please feel free to comment. I scoured the Archive and Recent Contributions, but I didn't find anything I thought was pertinent. -Timothy Hemphill elfinman at yahoo.com __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/