1. RE: Modified Interpreter

> 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

new topic     » topic index » view message » categorize

2. RE: Modified Interpreter

> 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

new topic     » goto parent     » topic index » view message » categorize

3. RE: Modified Interpreter

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

new topic     » goto parent     » topic index » view message » categorize

4. RE: Modified Interpreter

> 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

new topic     » goto parent     » topic index » view message » categorize

5. RE: Modified Interpreter

Matt:
   When you say embedded in a program are you talking
   about ANY langauge or just Euphoria ?
Bernie

new topic     » goto parent     » topic index » view message » categorize

6. RE: Modified Interpreter

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

new topic     » goto parent     » topic index » view message » categorize

7. RE: Modified Interpreter

> 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 ... blink
> 
> Matt, *thank* *you* *so* *much*! smile

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu