Re: Matheval ... the next step ...again
- Posted by Matt Lewis <matthewwalkerlewis at gm?i?.com> Apr 23, 2008
- 547 views
Mike777 wrote: > > Mike777 wrote: > > > > Matt Lewis wrote: > > > > You know, it might be simpler if you just embedded ooeu > > > (http://ooeu.sf.net) > > > instead of abusing matheval like this. :) > > > > At this point? hehe Consider it a good workout. > > The above doesn't really express my sentiments, so let me try again. > > Using Matheval blocks from separate files is an absolutely perfect solution > for what I'm attempting to accomplish. It allows the underlying program to > be perfected, bound and shipped and to have all "template" logic firmly > outside > the compiled program. > > I can't begin to tell you how perfect that is in this particular case. Yeah, I understand that, but I think ooeu would be a much better solution. You could still have the 'block' files, except they would be written in euphoria, and therefore more powerful and easier to write and maintain. Essentially, you could load the blocks dynamically, like you do now, but you could also set up hooks for the blocks to call parts of your program (with an API defined by you). Of course, you've put a lot of effort into it already, and if it ain't broke... Matt