1. RE: Modified Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 14, 2003
- 475 views
> From: Derek Parnell [mailto:ddparnell at bigpond.com] > > Matt Lewis <matthewwalkerlewis at yahoo.com> wrote: > > I've used David Cuny's eu.ex in this way (as a scripting engine). > > Perhaps I'll have to dig up what I have and clean it up > > and make it easier to use. Basically, you can control what > > commands, variables and routines the script can use, and > > provide 'wrappers' for them. > > Snap! I was thinking the same thing, Matt. I'm sure a 'cut-down' Eu > interpreter, such as eu.ex, would be a useful scripting tool. > Parameter passing between it and the calling program would still have > to be worked out. OK, I've cleaned up and documented what I have. You can get it: Source http://www14.brinkster.com/matthewlewis/euscript.zip Docs http://www14.brinkster.com/matthewlewis/euscript.htm And, of course, all my projects are here: http://www14.brinkster.com/matthewlewis/projects.html Matt Lewis
2. RE: Modified Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 15, 2003
- 431 views
> From: Bernie Ryan [mailto:xotron at bluefrognet.net] > I still don't see any advantage to this interpter when the same > code can be written in native Euphoria. Maybe if an example > or demo of it's use were included with the files; It might help > somebody to understand what the advanage of using it is. I assume you mean euscript.e? It allows users to customize their application with their own script, without having to mess with the source code. My original use for this was for a collectible card game, where each card could have unique effects. Rather than trying to hard code this stuff in, my idea was to use a scripting language. Then, I could store the cards in a database, and you could create, edit and trade cards without messing with any of the main source code. Or, imagine that you've written something similar to MS Access, only using EDS (this is another project goal of mine). Having a scripting language would let you have customized events for forms. Matt Lewis
3. RE: Modified Interpreter
- Posted by jondolar <lavigne.s at videotron.ca> Jul 15, 2003
- 450 views
Matt Lewis wrote: > > > > From: Bernie Ryan [mailto:xotron at bluefrognet.net] > > > I still don't see any advantage to this interpter when the same > > code can be written in native Euphoria. Maybe if an example > > or demo of it's use were included with the files; It might help > > somebody to understand what the advanage of using it is. > > I assume you mean euscript.e? It allows users to customize their > application with their own script, without having to mess with the > source > code. > > My original use for this was for a collectible card game, where each > card > could have unique effects. Rather than trying to hard code this stuff > in, > my idea was to use a scripting language. Then, I could store the cards > in a > database, and you could create, edit and trade cards without messing > with > any of the main source code. > > Or, imagine that you've written something similar to MS Access, only > using > EDS (this is another project goal of mine). Having a scripting language > would let you have customized events for forms. > > Matt Lewis > Pardon my ignorance, i'm new to Euphoria. Does that euscript.e scripting language exist and is it available? How does it works? Can you embed it in an application you develop? Is it along the line of many commercial DBMS wich have their own native Scripting language to automate many things in the application created with them? That's a lot of question but this looks (possibly) pretty exiting Regards Serge Lavigne
4. RE: Modified Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 15, 2003
- 447 views
> From: jondolar [mailto:lavigne.s at videotron.ca] > > Matt Lewis wrote: > > Or, imagine that you've written something similar to MS > > Access, only using EDS (this is another project goal of > > mine). Having a scripting language would let you have > > customized events for forms. > > > Pardon my ignorance, i'm new to Euphoria. Does that > euscript.e scripting language exist and is it available? > How does it works? Can you embed it in an application you > develop? Is it along the line of many commercial DBMS wich > have their own native Scripting language to automate many > things in the application created with them? > That's a lot of question but this looks (possibly) pretty exiting Yes, euscript.e does exist. You can get it from: http://www14.brinkster.com/matthewlewis/projects.html You can embed it within your application, and then pass Euphoria code to it to be run. You can also supply hooks into your application, so that the script can interact with your program (i.e., call routines, change variable values). The idea is that you could create an application similar to those commercial DBMSes, only the scripting language is just Euphoria. Some day I'd like to extend my Euphoria Database Browser to allow creation of database apps, similar to the way that Access works. Matt Lewis
5. RE: Modified Interpreter
- Posted by Bernie Ryan <xotron at bluefrognet.net> Jul 15, 2003
- 437 views
Matt: When you say embedded in a program are you talking about ANY langauge or just Euphoria ? Bernie
6. RE: Modified Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 15, 2003
- 447 views
I'm talking Euphoria, although it should be possible to turn euscript into a dll, and use it from another language. Matt Lewis > -----Original Message----- > From: Bernie Ryan [mailto:xotron at bluefrognet.net] > > Matt: > When you say embedded in a program are you talking > about ANY langauge or just Euphoria ? > Bernie
7. RE: Modified Interpreter
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 18, 2003
- 471 views
> From: Juergen Luethje [mailto:j.lue at gmx.de] > Hi Matt, you wrote: > > > OK, I've cleaned up and documented what I have. You can get it: > > > > Source http://www14.brinkster.com/matthewlewis/euscript.zip > > <snip> > > Why not also put this link at the Recent User's Contibution page? > I already have an idea, what I'd like to do with my micro $$ next > month ... > > Matt, *thank* *you* *so* *much*! Ah, well, as with the original eu.ex, Rob decided he didn't want to put this on his page, since it has the potential to compete with Euphoria. But please feel free to vote for my other stuff. :) Matt Lewis