digitalmars.D.dtl - Just me being paranoid doesn't mean they're not after me (or us)!!!!!
- Georg Wrede (38/58) Dec 10 2005 I guess '84 is looking over the shoulder, after all:
- daerid (7/65) Dec 24 2005 I've been following spirit for a few years, and honestly it's quite poss...
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!> --- >And as a Linux user, I've had this all along -- what an embarrasment. No downloads, configuring, nothing. Just try out the examples and ideas, right now. This is almost enough to make me go back to C++ (no panic, just for this one thing, nothing else), for a while to try this out. Man, D metaprogramming features should be relentlessly pursued until we can _proove_ that anything the C++ guys could do is doable in D!------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
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!> --- >And as a Linux user, I've had this all along -- what an embarrasment. No downloads, configuring, nothing. Just try out the examples and ideas, right now. This is almost enough to make me go back to C++ (no panic, just for this one thing, nothing else), for a while to try this out. Man, D metaprogramming features should be relentlessly pursued until we can _proove_ that anything the C++ guys could do is doable in D!------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Dec 24 2005