Re: c header file parser
- Posted by petelomax Oct 13, 2015
- 1777 views
bugmagnet said...
Does Euphoria have the equivalent of FreePascal's h2pas utility?
When I'm not doing Euphoria I'm doing GnuCOBOL (well, that and some other things as well) and am trying to find some code I can adapt for a GnuCOBOL project I'm doing which needs some C headers morphed into COBOL.
bugmagnet
I wrote cffi.e not too long ago, but rather than take a whole .h file you have to copy small snippets of interest, is that any use?
Easiest way to get it is https://bitbucket.org/petelomax/phix then navigate source -> builtins -> cffi.e -> raw
You can also get source -> docs -> phix -> phix.chm which I've just pushed, if you're looking for some documentation for it.
Pete