Re: GtkLib
- Posted by David Cuny <dcuny at LANSET.COM> Aug 21, 1999
- 358 views
Pete wrote: >I haven't touched Peu since Eu Linux came out... > I'd much rather code in Euphoria than code > Euphoria in C. Gee, *that* sounds familiar. A couple of months, I started coding Gnuphoria again, but wrote it in a small subset of Euphoria that I could convert to C. I guess if we really loved C that much, we wouldn't be coding in Euphoria, would we? >I am still interested in writing Euphoria > interpreters and compilers. Good! > I have some thoughts on how to convert Euphoria > to native machine code, for a real compiler, and that > the compiler might be able to be written in Euphoria, > making it a just-in-time compiler. I've toyed around with compiling to a Euphoria virtual machine. To a large extent, Robert's already written on. Think of machine_proc and machine_func as defining some of the core methods, along with sequence manipulation operations (create, clone, dereference, destroy, append, prepend, insert) and you've got the core language. These calls (written in C) would then be glued together by an interpreter, which would convert Euphoria into C/assembly/Java bytecodes/Euphoria bytecodes/whatever. > Neil... Sounds interesting. My DOS port of Llama got way to complex when I couldn't decide if I was supposed to parent the Window into a Frame and redirect graphic calls in the Window to the Frame, combine the Window and Frame into a single object, or whatever... Hopefully, I'll get it right this time. I'd really like to see Llama running under EWE. -- David Cuny