November 18, 2016 Re: D front end implementation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On 18.11.2016 11:18, Rainer Schuetze wrote: >> ... > > Quite a list, but the issues that are likely to affect symbol lookup > might not be too complicated to implement. I think 'protected' is the only remaining feature whose implementation is not "obvious". Otherwise, finishing support for all features is mostly a question of spending the time. Some performance tuning will be necessary too. > I'm looking for candidates > that might replace the semantic engine in Visual D, In theory, the frontend would be a good option because due to its design, it is quite easy to extend for incremental semantic analysis support. (It keeps track of all dependencies between nodes, all that is needed is to record those and to re-analyze dependent code as required.) > as D_Parser is > unlikely to be developed further at the moment. > >>> Is it able to digest itself? >> >> Not yet. (Mostly because of missing language features.) >> >>> That would be pretty impressive ;-) >> >> I want to get there eventually. :) >> Unfortunately I haven't had a lot of time to spend on this lately. Also, >> DMD 2.060 has quite many annoying bugs that slow down development. >> > > I hope to get the forward reference bugs solved in current dmd. Nice initiative! > That might also help your motivation to continue the front end ;-) Certainly. :) |
November 25, 2016 Re: D front end implementation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On 18.11.2016 15:37, Timon Gehr wrote: >> >> I hope to get the forward reference bugs solved in current dmd. > > Nice initiative! It took some time, but here is a version of dmd: https://github.com/rainers/dmd/tree/tg_frontend that can compile an updated frontend: https://github.com/tgehr/d-compiler/pull/1 [The debug version of dmd hits 2 assertions during code generation, though (some real/ireal type mismatch, unlikely to make a lot of trouble in the release build).] |
November 28, 2016 Re: D front end implementation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On 25.11.2016 09:46, Rainer Schuetze wrote: > > > On 18.11.2016 15:37, Timon Gehr wrote: >>> >>> I hope to get the forward reference bugs solved in current dmd. >> >> Nice initiative! > > It took some time, but here is a version of dmd: > > https://github.com/rainers/dmd/tree/tg_frontend > ... What needs to happen that this is merged into master? :) > that can compile an updated frontend: > > https://github.com/tgehr/d-compiler/pull/1 > > [The debug version of dmd hits 2 assertions during code generation, > though (some real/ireal type mismatch, unlikely to make a lot of trouble > in the release build).] Merged! Thank you for taking care of this. |
November 28, 2016 Re: D front end implementation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr |
On 28.11.2016 10:30, Timon Gehr wrote:
> On 25.11.2016 09:46, Rainer Schuetze wrote:
>>
>>
>> On 18.11.2016 15:37, Timon Gehr wrote:
>>>>
>>>> I hope to get the forward reference bugs solved in current dmd.
>>>
>>> Nice initiative!
>>
>> It took some time, but here is a version of dmd:
>>
>> https://github.com/rainers/dmd/tree/tg_frontend
>> ...
>
> What needs to happen that this is merged into master? :)
I noticed it fails on a couple of tests from the testsuite. Will have to figure out, why...
There are a couple of issues involved, these will likely have to be split up to get a chance of getting merged.
|
Copyright © 1999-2021 by the D Language Foundation