|
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 - Just me being paranoid doesn't mean they're not after me (or us)!!!!!
I guess '84 is looking over the shoulder, after all: Found the following, lying around "outside of our domain", From: Larry Evans <cppljevans <at> cox-internet.com> Subject: praise from dtl Newsgroups: gmane.comp.parsers.spirit.devel Date: 2005-11-04 18:12:35 GMT (5 weeks, 1 day, 3 hours and 27 minutes ago) Just thought you spirit developers would enjoy this. The quote is from a post to digitalmars.D.dtl with subject=Re: I want a tree. On 11/04/2005 10:23 AM, Georg Wrede wrote: > 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. >> >> >> What about emulating boost's spirit library? >> >> http://www.boost.org/libs/spirit/index.html > > > Whew! Thaks! >Spent 6 hours reading through the entire manual! This is awsome stuff. Imagine that you can write source code just like always, and within it lines that look like "normal" grammar definitions -- without any jumping or gymnastics. Just unbelievable. While the template "programming language" in C++ is a nightmare, some of these guys really can make it shine! And to think that the end result turns out to be so incredibly easy, usable, and obvious! And the manual, and the quick reference. Oh boy! Dec 10 2005
I've been following spirit for a few years, and honestly it's quite possibly the coolest and most innovative application of c++ that I know of :) I have faith that D can step up to the plate though. D's template system seems to be both simpler and more powerful than c++'s. Bryan Ross daerid gmail.com In article <439B4F11.6000003 nospam.org>, Georg Wrede says...I guess '84 is looking over the shoulder, after all: Found the following, lying around "outside of our domain", From: Larry Evans <cppljevans <at> cox-internet.com> Subject: praise from dtl Newsgroups: gmane.comp.parsers.spirit.devel Date: 2005-11-04 18:12:35 GMT (5 weeks, 1 day, 3 hours and 27 minutes ago) Just thought you spirit developers would enjoy this. The quote is from a post to digitalmars.D.dtl with subject=Re: I want a tree. On 11/04/2005 10:23 AM, Georg Wrede wrote: > 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. >> >> >> What about emulating boost's spirit library? >> >> http://www.boost.org/libs/spirit/index.html > > > Whew! Thaks! >Spent 6 hours reading through the entire manual! This is awsome stuff. Imagine that you can write source code just like always, and within it lines that look like "normal" grammar definitions -- without any jumping or gymnastics. Just unbelievable. While the template "programming language" in C++ is a nightmare, some of these guys really can make it shine! And to think that the end result turns out to be so incredibly easy, usable, and obvious! And the manual, and the quick reference. Oh boy! Dec 24 2005
|