Is it possible to translate this API's C headers?

Jonathan M Davis newsgroup.d at jmdavisprog.com
Wed Sep 19 18:52:37 UTC 2018


On Tuesday, September 18, 2018 7:39:40 AM MDT Atila Neves via Digitalmars-d-
learn wrote:
> On Monday, 17 September 2018 at 19:13:06 UTC, Jonathan M Davis
>
> wrote:
> > On Monday, September 17, 2018 7:43:21 AM MDT Kagamin via
> >
> > Digitalmars-d-learn wrote:
> >> try dpp https://github.com/atilaneves/dpp
> >
> > Since according to Mike's post, it's C++ code, dpp wouldn't
> > help, because it currently only supports C and not C++.
> >
> > - Jonathan M Davis
>
> It does C++ as well, just not all (or even close at this point)
> of it. I doubt it'd work on any real C++ codebase right now, but
> who knows. It definitely won't if any of the headers use the
> standard library, which is likely to happen.

Well, the repo claims that it currently only does C - hence why I said that
it will only do C (though even if it partially supports C++, odds are it's
not enough to matter unless you know what you're doing - which the OP
clearly doesn't, since they don't know C/C++).

> It turns out that parsing C++ is a lot of work. Who knew? :P

Yeah...

- Jonathan M Davis





More information about the Digitalmars-d-learn mailing list