Re: Testing eu.ex

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

Hi Matt,

sometimes it looks like magic if I see how you manage to improve Euphoria's source code. I used Euphoria rev 1367 and was able to run 3 instances of Eu.ex and then Hello.exw. I suppose it would be possible to run a fourth instance of eu.ex too, but due to the size and complexity of the code, Eu4 plays in another league now compared with Eu 3.1.1 and it would have taken too much time on my machine.
Therefore I translated and compiled eu.ex and tried to run eu.ex with it. This is my result:

(First instance is eu.exe):
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1367
...
file name to execute? eu.ex
Euphoria Interpreter 4.0 (development) for 32-bit Windows.
SVN Revision 1367
...
file name to execute? eu.ex

.\shift.e:339 in procedure shift()
subscript must be an atom
(reading an element of a sequence)
... called from .\inline.e:69 in procedure shift()
... called from .\inline.e:84 in procedure replace_code()
... called from .\inline.e:323 in function inline_op()
... called from .\inline.e:461 in procedure check_inline()
... called from .\parser.e:3419 in procedure SubProg()
... called from .\parser.e:3683 in procedure real_parser()
... called from .\main.e:260 in procedure main()
... called from .\main.e:276

> see ex.err

Press Enter...

If I use this little program:

include get.e
puts(1, "Hello World")
if wait_key() then end if

I will get this error when I try to run hello.exw as 3rd instance:

.\shift.e:339 in procedure shift()
subscript must be an atom
(reading an element of a sequence)
... called from .\inline.e:69 in procedure shift()
... called from .\inline.e:84 in procedure replace_code()
... called from .\inline.e:278 in function returnf()
... called from .\inline.e:326 in function inline_op()
... called from .\inline.e:461 in procedure check_inline()
... called from .\parser.e:3419 in procedure SubProg()
... called from .\parser.e:3655 in procedure real_parser()
... called from .\main.e:260 in procedure main()
... called from .\main.e:276

> see ex.err

Press Enter...

I must add that I cannot do this test with Eu 3.1.1. I can translate and compile eu.ex of 3.1.1 but I cannot run any program with eu.exe in Windows (Vista). This confuses me a little bit. Maybe I do something very wrong in this case.

Roland

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

Search



Quick Links

User menu

Not signed in.

Misc Menu