Re: The Euphoria IDE Project
- Posted by mattlewis (admin) Jun 18, 2012
- 4348 views
The alternative would be to rewrite wxeu.cpp pretty much from scratch, but embed the knowledge of the underlying Phix data structures rather than those of OpenEu.
Yes, it sounds like that's what would have to happen. After a lot of experimenting, I think that the way I've got wxEuphoria working is the easiest way to go about wrapping a C++ library.
What about a unified library interface? Once that defined C macros that allowed you to switch the build between Phix and OpenEuphoria simply by changing an ifdef or something?
So we'd have a WXEU_POINTER that would be C_POINTER for 4.1 and C_INT for Phix, and a WXEU_DEREF_DS that'd call the right version of deref for 4.1 or Phix...
I'm not really against this or anything, but personally I have no motivation to do anything Phix related. I can't even keep up with all of the euphoria stuff I want to do.
Matt