Seems to me like Walter is working integrating a C compiler into dmd.
What's the long-term plan here?
Builtin support for generating D wrappers from C headers?
Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
May 09, 2021 What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Seems to me like Walter is working integrating a C compiler into dmd. What's the long-term plan here? Builtin support for generating D wrappers from C headers? |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | On Sunday, 9 May 2021 at 11:41:28 UTC, Per Nordlöw wrote: >Seems to me like Walter is working integrating a C compiler into dmd. Doh, forget the link https://github.com/WalterBright/dmd/commit/3053fe0b0753fea83bb9ad32420c9699e0ea1d53 |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | On Sunday, 9 May 2021 at 11:42:09 UTC, Per Nordlöw wrote: >Doh, forget the link https://github.com/WalterBright/dmd/commit/3053fe0b0753fea83bb9ad32420c9699e0ea1d53 Doh again, it's the PPC branch not the CPP. |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | On Sunday, 9 May 2021 at 11:41:28 UTC, Per Nordlöw wrote: >Seems to me like Walter is working integrating a C compiler into dmd. What's the long-term plan here? Builtin support for generating D wrappers from C headers? Looks interesting 👀 |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Per Nordlöw | On Sunday, 9 May 2021 at 11:41:28 UTC, Per Nordlöw wrote: >Seems to me like Walter is working integrating a C compiler into dmd. Or rather a C parser at least. |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Sunday, 9 May 2021 at 11:55:17 UTC, Imperatorn wrote: >Looks interesting 👀 Very interesting! https://github.com/WalterBright/dmd/commit/12f1f482b64e54d7353ceeb3b4f60b2caa68828d#diff-cdf7d0893f3c1cb898585c88423f77c6d7094b31425d18f29591809fdb928cab |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | On Sunday, 9 May 2021 at 20:34:20 UTC, SealabJaster wrote: >Very interesting! https://github.com/WalterBright/dmd/commit/12f1f482b64e54d7353ceeb3b4f60b2caa68828d#diff-cdf7d0893f3c1cb898585c88423f77c6d7094b31425d18f29591809fdb928cab Indeed! |
May 09, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | On Sunday, 9 May 2021 at 20:34:20 UTC, SealabJaster wrote: >On Sunday, 9 May 2021 at 11:55:17 UTC, Imperatorn wrote: >Looks interesting 👀 Very interesting! https://github.com/WalterBright/dmd/commit/12f1f482b64e54d7353ceeb3b4f60b2caa68828d#diff-cdf7d0893f3c1cb898585c88423f77c6d7094b31425d18f29591809fdb928cab Whoa. Go Walter! :D |
May 10, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | On Sunday, 9 May 2021 at 20:34:20 UTC, SealabJaster wrote: >On Sunday, 9 May 2021 at 11:55:17 UTC, Imperatorn wrote: >Looks interesting 👀 Very interesting! https://github.com/WalterBright/dmd/commit/12f1f482b64e54d7353ceeb3b4f60b2caa68828d#diff-cdf7d0893f3c1cb898585c88423f77c6d7094b31425d18f29591809fdb928cab How will this work with new C features and gcc/clang extensions? |
May 11, 2021 Re: What is Walter's dmd CPP branch?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to SealabJaster | On Sunday, 9 May 2021 at 20:34:20 UTC, SealabJaster wrote: >On Sunday, 9 May 2021 at 11:55:17 UTC, Imperatorn wrote: >Looks interesting 👀 Very interesting! https://github.com/WalterBright/dmd/commit/12f1f482b64e54d7353ceeb3b4f60b2caa68828d#diff-cdf7d0893f3c1cb898585c88423f77c6d7094b31425d18f29591809fdb928cab A bit easier to read: |