1. Re: [E - 12 to 13 Jun 1997] Interpret

Irv <mountains at MINDSPRING.COM> writes...

E::>Robert Craig wrote:
 ::>>
 ::>> In my APL days long ago I found the APL interpreter's "execute"
 ::>> function, which does exactly what you are asking, to
 ::>> be very much a solution looking for a problem.
 ::>> I've got higher priority things to look at.
 ::>>
 ::>I'm puzzled. Can someone give a real-life example of something that would
 ::>be made much easier/faster/simpler by using an interpret() function?

 Well, the first example that comes to mind, immediately, is a
 program for use in schools that accepts a formula from the
 keyboard, and generates a graph of it.

 The second example that comes to mind (almost as fast as the
 first) is to enhance either Robert's or David's editor with
 macros (written in Euphoria, natch), which can be dynamically
 redefined at any time, or defined differently in different
 directories, or for different file extensions, at file-load
 time.  One could play games with this kind of thing using
 include files - unless you're using a bound version of the
 editor.

 The second example is actually more likely than the first; the
 only reason it was second is because I'd been discussing
 educational software with my mother (a teacher) and this
 example came up...

 =========================================================================
Jeff Zeitlin                                      jeff.zeitlin at execnet.com
---
 ~ OLXWin 1.00b ~ Quis custodiet ipsos custodes?

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu