July 28, 2002 Re: Compiling DMD frontend in Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | Which compiler are you using to compile the d-font-end?
Burton Radons wrote:
> Status update. The last few days I've been looking into various intermediate representation systems. I'll be going to some variety in the future, but for now I decided to stick with the crappy stack-based code it's currently producing. I was actually interested in LCC's system, but when I looked at the produced code I saw that it was really horrible. This is good, as it's comparable to GCC in the computer language shootout, so producing cruddy code is not a death knell by any means, although it has a bad worst-case.
>
> All integer arithmetic is done, and some of floating-point. Locals are in and I'm just now working on arrays and my next hurdle is to start to port, compile and use Phobos.
|
August 03, 2002 Re: Compiling DMD frontend in Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | It's that time again. Classes are working, as is TypeInfo. TypeInfo took quite a bit of code and looking-into to get operational; you have to look for a VarExp referring to a TypeInfoDeclaration and output it in the module, generating at least an instance. I go all out and generate both the instance and a subclass of TypeInfo to make everything on-the-level; partial subtyping works (creating a specialised vtable but using TypeInfo as the class), but is just asking for problems to show up in low-level user code. The milestone I'm aiming for here is to finish up the arrays without doing any stubbing on the way. Once that is done and I put up version 0.0.2, the only missing language features will be exceptions and threading concerns, long, complex, and associative arrays, switch, and other things. This would make me about 30% finished, so the body is already done, with the easier gaps ahead. |
January 13, 2003 Re: Compiling DMD frontend in Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Jan Knepper wrote:
> You mean, you are not interested in the GLUE layer for the D-front-end and
> the GCC-back-end?
> What are you writing a back-end for?
Actually, I'm rather glad he does, it'll show me how to do it on other platforms, hopefully.
Hi, BTW. I stumbled into this yesterday, and decided D is definitely worth looking at, and I'm already thinking of porting to a different operating system (VMS, and that's why an already written backend might be a good thing to have around).
|
January 13, 2003 Re: Compiling DMD frontend in Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Levitte | "Richard Levitte" <levitte@stacken.kth.se> wrote in message news:avt0vk$u7q$1@digitaldaemon.com... > Hi, BTW. I stumbled into this yesterday, and decided D is definitely worth looking at, and I'm already thinking of porting to a different operating system (VMS, and that's why an already written backend might be a good thing to have around). Glad to have you join us! -Walter |
Copyright © 1999-2021 by the D Language Foundation