RE: Future of Euphoria
- Posted by Ray Smith <smithr at ix.net.au> May 27, 2002
- 527 views
David Cuny wrote: > Ray Smith wrote: > > > Since there are no "solid" cross platform GUI's available in > > Euphoria it is near impossible to write a cross platform editor > > or IDE. Which brings me to my major "wish" ... a cross platform > > GUI library! > > I've made this point before: in my highly biased opinion, wxWindows is > simply > the best cross-platform library that's out there: > > http://www.wxwindows.org > > wxWindows runs under Windows, Linux, OS X, and even DOS. It even wraps > Scite, > a color-coding editor: > > http://www.scintilla.org > > This would make it simple to create a cross-platform editor for > Euphoria. > > I know that wxWindows can be used in a C scripting language, since I've > used > it to write my own cross-platform interpreter, wxBasic: > > http://wxbasic.sourceforge.net > > which is (excepting for some C++ glue) written in plain old C. > > I made an attempt to write a version of "wxEuphoria", but ran into > trouble > getting the C++ compiler to handle the Euphoria source. But I'm not > really a > C/C++ wizard, and makefiles leave me baffled, so I ran into a brick wall > > pretty quickly. > > If someone is interested in creating wxEuphoria, I'd be glad to lend a > hand. > > -- David Cuny I've looked at wrapping wxWindows in the past but I suspect my C/C++ and makefile knowledge is far behind yours (I'm certain of this after looking at wxBasic!). I've looked at wrapping the FLTK cross platform toolkit and actually got a fair bit of it working but it lacks much in the way of widgets. It has no tree, grid or list view controls. Maybe I'll return here if my other attempt doesn't work out ... FLTK does have a simple "editor" control but I don't think it's worth the effort to wrap a complete GUI library just to make an editor! The FOX GUI cross platform toolkit was my last attempt and I managed to create a very basic window and button in Euphoria but that's as far as I progressed. FOX has a much broader array of Widgets, with trees, grids, MDI etc and is an excellent toolkit. It has one benefit over wxWindows as it sits directly on top of XWindows and is much smaller. The big stumbling block in wrapping FOX is that it is "highly" object oriented and I'm not sure how to wrap it correctly for Euphoria. I have stayed away from wxWindows as I have been waiting (and hoping!) that one day I'd read my email and see a message from Mr Cuny with an announcement of his success in wrapping wxWindows!!!! :) If anyone has any ideas on how to wrap OO libraries in Euphoria I'd be very happy to hear them. If anyone is interested I'll try and describe the problems that exist in trying to wrap OO libraries. Regards, Ray Smith http://rays-web.com