Re: dot net
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Feb 20, 2006
- 570 views
Tommy Carlier wrote: > > Matt Lewis wrote: > > George Walters wrote: > > > > > > Anyone have, or working on, a dot net type of capability link with > > > euphoria? > > Yes. I've been looking into translating Eu il code into CLI il code that > > can be compiled with ilasm--part of DotNet. I've had some promising results > > so far. Obviously, from there, it should be fairly easy to allow Euphoria > > to use anything else (i.e., WinForms) that's written in DotNet. > > You don't even need ILASM to compile: if you use the Reflection.Emit classes, > you can compile code from within your own application. > Yes, and that's an integral part of my plan, but first you need a dotnet executable. Basically, I'm writing a lot of the backend stuff in C#, then decompiling that to il code (yes, I could make it an external assembly, and that will likely be an option). I have a program that takes a 'shrouded' ooeu program, and translates that into il code. Then I'm calling ilasm to put it all into an exe. I need to rewrite the way it represents Euphoria data--it's not very elegant or efficient, although with a minor change to the code, I was able to get the sieve benchmark to run faster than with a translated ooeu backend, so it's at least possible to get better performance than currently possible. It's also possible that it could work with Mono, so it could be cross platform, too. Still lots of work to be done... Matt Lewis