Is it time for D 3.0?

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Mar 28 18:30:14 UTC 2020


On Sat, Mar 28, 2020 at 09:12:17AM +0100, Jacob Carlborg via Digitalmars-d wrote:
> On 2020-03-27 21:25, H. S. Teoh wrote:
> 
> > There's already dfix.  Does it not work well enough?  What are the
> > issues the prevent us from using it in general?
> 
> It's not good enough. It's not based on the DMD frontend, it uses its
> own parser. It doesn't do any semantic analysis. As long as the DMD
> frontend is not used, it will always play catch up and will most
> likely never do semantic analysis.
[...]

But how could it use the DMD frontend if its job is to fix old syntax
rejected by the new compiler into new syntax acceptable to the new
compiler?  Would it have to use two copies of the frontend, one for
older syntax and one for newer syntax?


T

-- 
Having a smoking section in a restaurant is like having a peeing section in a swimming pool. -- Edward Burr 


More information about the Digitalmars-d mailing list