|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
digitalmars.D.dtl - I want a tree
I know there are several directions to go to if I want to end up with a tree structure that represents a program file's lexed and parsed contents. Some of them better than the other, in some aspect. What I'm looking for is to be able to read D source as input, parse it to a tree, then output it as (almost) the same source. Why??? Well, I need to do this to "first get it right". Then I want to try out a few ideas on how to define details of (the now infamous and almost entirely forgotten) meta language that I raved about last winter. If it works, then we can start thinking of how (or why) it should be incorporated into D or DMD, or neither. (If given a choice, I'd slightly prefer DMD over GDC, even though I'll be working both in Linux and Windows.) Sep 15 2005
On 09/15/2005 04:02 PM, Georg Wrede wrote:I know there are several directions to go to if I want to end up with a tree structure that represents a program file's lexed and parsed contents. Some of them better than the other, in some aspect. What I'm looking for is to be able to read D source as input, parse it to a tree, then output it as (almost) the same source. Nov 03 2005
Larry Evans wrote:On 09/15/2005 04:02 PM, Georg Wrede wrote:I know there are several directions to go to if I want to end up with a tree structure that represents a program file's lexed and parsed contents. Some of them better than the other, in some aspect. What I'm looking for is to be able to read D source as input, parse it to a tree, then output it as (almost) the same source. Nov 04 2005
|