D parser in tango or phobos
Bruce Adams
tortoise_74 at yeah.who.co.uk
Mon Sep 8 00:47:43 PDT 2008
On Mon, 08 Sep 2008 04:38:34 +0100, David Wilson <dw at botanicus.net> wrote:
> 2008/9/6 Bruce Adams <tortoise_74 at yeah.who.co.uk>:
>
>> Python has a python parser written in python. The main interpreter is
>> written in C for portability.
>> That is a good reason and the same reason applies for D. Why in this
>> day and
>> age C++ isn't considered
>> portable by most such project is beyond me.
>> I particularly like gcc's approach of bootstraping itself to full
>> functionality. Its a shame the insides
>> are so gnarly.
>
> FYI, one of the GCC maintainers (Ian Lance Taylor) recently created a
> branch of GCC that begins to introduce template usage in the GCC
> source itself.
>
> http://www.airs.com/ian/cxx-slides.pdf
>
>
> David
>
Its been suggested before. I even wanted to do it myself but I never had
sufficient
time or inclination. I, probably like many others, went for a roll your
own approach instead
before being distracted. Someone at google might actually have the
resources to do it.
But come on its 2008. If it was going to happen it should have been years
ago.
Still relating to this article are a few more links:
http://www.airs.com/blog/archives/187
http://gcc.gnu.org/ml/fortran/2008-06/msg00218.html
http://scaryreasoner.wordpress.com/2008/08/21/so-theyre-going-to-rewrite-gcc-in-c-eh/
http://lwn.net/Articles/286539/
Notice how quickly the language war started.
Now the really interesting question is what progress has been made since
June 18th?
Anyone have time to check the source tree for bookins?
More information about the Digitalmars-d
mailing list