www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What is Walter's dmd CPP branch?!

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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
next sibling parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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
parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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
prev sibling next sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
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
parent reply SealabJaster <sealabjaster gmail.com> writes:
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
next sibling parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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
prev sibling next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
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 09 2021
prev sibling next sibling parent Ola Fosheim Grostad <ola.fosheim.grostad gmail.com> writes:
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 10 2021
prev sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
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: https://github.com/WalterBright/dmd/blob/ImportC/changelog/ImportC.md
May 11 2021
prev sibling parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
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