Re: Wrappers
Everett Williams wrote:
> so much stirring that could be so much more
> cleanly done with these issues resolved.
Being able to declare C-style structure might be nice, but it doesn't get me
any closer to converting the C include files that I already am.
The tools I've got let me work pretty well with structures. I can declare
them, and transparently read and write into them. The real problem is
converting C include files into Euphoria. For example, GTK has a zillion
files (one for each class), each of which is fairly large and complex, with
preprocessor directives, and so on.
In the past, I've hacked code that would parse 95% of the code correctly.
The remaining 5% would have to be hand coded. That doesn't seem too bad,
until there's an update to the libraries, and all this hand-fixing has to
happen again. It would be nice if there were a tool that would parse the C
include files with 100% accuracy.
-- David Cuny
|
Not Categorized, Please Help
|
|