Re: Euphoria Demos

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

I have tried to translate edita.exw with the following command.

C:\Documents and Settings\Jesse\Desktop\euphoria\edplus>euc edita.exw .\arwen.ew:210 <0090>:: found reserved word 'label' but was expecting a parameter name instead. function addControl(integer objType, integer parentId, atom hwnd, sequence label , atom hBitmap) ^ Warning ( not_used ): <0320>:: .\machine.e - module variable 'check_calls' is assigned but never u sed: It seems to have failed. Edita was not in the Euphoria package so I got it at http://www.rapideuphoria.com/edplus.zip. I also attempted to do the translation with ecw. You can view the errors at http://www.filedropper.com/editatranslation. That link may expire.

Looking for an easier target in the demo folder that came with the Euphoria 4 R3 release I attempted:

exw sieve8k.exw:

and got:

C:\euphoria4\include\std/get.e:3 namespace has not been declared namespace stdget ^ Press Enter:

so I didn't bother trying to translate it. (Oddly, if I just type sieve8k.exw a console window binks in and out of existence. So I understand that these files are executable without explicitly calling the interpreter. In fact taskwire.exw works if I just call it, but it produces an error if I type "exw taskwire.exw".)

euc taskwire.exw was successful in creating an executable. Unfortunately I couldn't see any difference in the rendering speed. The good news is that it works!

bench.ex doesn't work.

Going back to the archives I found: http://www.rapideuphoria.com/shootout.zip. This package also features a bench.ex. The default test ran with errors so I modified the list to:

constant FILE_LIST = { "nbody.ex 2000000" }:

The nbody test ran without errors, so I attempted to translate bench.ex.

euc bench.ex:

Success! bench.exe runs and the results are... slower than the interpreted bench.ex. This is just one test, (after a string of outright failures,) but my enthusiasm is waning.

-edit: I am using version 4 beta 3.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu