RE: Matt Lewis' Euscript

new topic     » topic index » view thread      » older message » newer message

Greg Haberek wrote:
> 
> 
> I've been toying around with Euscript by Matt Lewis, and I've run 
> into a snafoo. It seems include files aren't handled. I see 
> code in euscript.e to handle include files, but if i include a
> file and try calling a routine from it, i get a syntax error. Is 
> there something i'm missing? I've been working on a front-end
> for euscript, so one could type out code and run it on the
> fly, sort of like an 'immediate' window. Also, i tried translating 
> Euscipt into a .dll but i ran into problems there, too.
> I got all sorts of errors with different test due to bad 
> routine numbers and such...

I don't know about translation, since I haven't tried that.  However, I 
think that I broke the include mechanism by changing the way that it 
reads code.  In procedure readSourceLine(), you'll see:

-- read
-- data = gets( sourceHandle )

The original eu.ex read the code directly from files, whereas euscript 
uses a sequence that's passed to it.  I suppose that it would be 
possible to have it check to see if it's in the main module, and if not, 
use the standard read method.  I'll look into changing this.

Matt Lewis

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu