Re: Feedback on Átila's Vision for D

rikki cattermole rikki at cattermole.co.nz
Sun Oct 20 10:08:29 UTC 2019


On 20/10/2019 10:39 PM, Nicholas Wilson wrote:
> On Sunday, 20 October 2019 at 03:41:08 UTC, Walter Bright wrote:
>> On 10/19/2019 6:52 PM, Nicholas Wilson wrote:
>>> On Saturday, 19 October 2019 at 23:38:51 UTC, aliak wrote:
>>>> Plus, IIRC dmd is a prime example where splitting is not happening 
>>>> because of "reasons". So it's not always doable either.
>>> Those reasons are largely "Walter" and are unrelated.
>>
>> I know I'm not popular with this idea, but packagizing dmd is akin to 
>> painting a rusty/dirty car without prepping the metal first.
> 
> Obviously I think you're wrong, but for the sake of getting shit done:
> Do you mean to imply that now is not the time, as opposed to it will 
> never happen?
> Because it _really_ needs to happen, and the sooner the better, as Rikki 
> notes it is an absolute requirement compiler as a library.
> 
>   If so, what do you think needs to happen before that?

While I agree with your sentimentality, this is not something worth 
fighting over until a solid use case comes up.

Because of dub its already separated out when loaded in an IDE.

My estimate based upon my last evaluation around 6-8 months ago was it 
would take around a week of concentrated effort to get the lexer into a 
good state for use as a library. The parser would be ridiculous compared 
to this (includes AST).

Semantic analysis while needing to be callable shouldn't need its 
internals exposed.

Point is, you will end up needing a dmd developer even if we were to 
separate out the lexer today and get it into a good state. If he wants 
to leave it for now we should. He has a lot of other things on his mind 
which are far more important.


More information about the Digitalmars-d mailing list