Re: [racket] Adding raw string syntax

2011-08-15 Thread Joan Arnaldich
Greg Hendershott writes: > Plus in the case of Racket it might help to have more mundane > examples, rather than fewer. Such examples help convey: "See, you can > do practical stuff in Racket just like in your blub language. There's > all this other power and expressiveness waiting for you to try

Re: [racket] Adding raw string syntax

2011-08-15 Thread Greg Hendershott
I just want to suggest the idea that it's positive for the promotion of Racket to have many usage examples, even if it's stuff not particularly easy or special to do in Racket. Something I think we've all seen with technology marketing (yeah, I said the m-word): When I've built something, there's

Re: [racket] Adding raw string syntax

2011-08-14 Thread Eli Barzilay
5 hours ago, Joan Arnaldich wrote: > > Done. I added a section at the end on the @form syntax, and a note > at the beggining so that people can skip the whole article if they > just want to get the functionality. Thanks! > If the tutorials section in the article section is to stay, then > I'll

Re: [racket] Adding raw string syntax

2011-08-14 Thread Matthias Felleisen
On Aug 14, 2011, at 12:05 PM, Joan Arnaldich wrote: > If the tutorials section in the article section is to stay, then I'll > add this one here, which I think is far more interesting than > mine: > > http://matt.might.net/articles/implementing-a-programming-language/ But Matt's page is just a

Re: [racket] Adding raw string syntax

2011-08-14 Thread Joan Arnaldich
Eli Barzilay writes: > I've noticed that someone put a link to your > tutorial on the Wikipedia page -- It was Asumu. I wouldn't feel confident enough for such a self-plug ;P. > and I worry about getting more > people who are unaware of the scribble @-form syntax that does things > better whe

Re: [racket] Adding raw string syntax

2011-08-13 Thread Eli Barzilay
On Wednesday, Joan Arnaldich wrote: > > > The @ syntax originally designed for Scribble is very helpful for > > > this sort of thing. > > > > A concrete example for using it as a raw string: > > > > #lang at-exp racket > > (define r string-append) > > (display @r{...nearly free text here...

Re: [racket] Adding raw string syntax

2011-08-10 Thread Joan Arnaldich
Jukka Tuominen writes: > Racket seems to be the tool for the doers - the threashold to DIY is very > low, as we have seen many times. I see what you mean. Racket makes it hard to find those kind of excuses: if you don't like or miss something, you can always go and change it. How many languages

Re: [racket] Adding raw string syntax

2011-08-10 Thread Joan Arnaldich
> fortran and an assembler with a very good macro system allowing > recursion and meta macros, id est macros that produce macros) Making a > language with these tools would require a 1000 to 1 lines of code. Not even using lexer/parser generators... hats up! (and shrivers down my spine...) ;)

Re: [racket] Adding raw string syntax

2011-08-10 Thread Jukka Tuominen
e the tool for the doers - the threashold to DIY is very low, as we have seen many times. br, jukka > -Original Message- > From: users-boun...@racket-lang.org > [mailto:users-boun...@racket-lang.org]On Behalf Of Joan Arnaldich > Sent: 10 August 2011 10:35 > To: users@racket-lang.

Re: [racket] Adding raw string syntax

2011-08-10 Thread Joan Arnaldich
> > The @ syntax originally designed for Scribble is very helpful for > > this sort of thing. > > A concrete example for using it as a raw string: > > #lang at-exp racket > (define r string-append) > (display @r{...nearly free text here...}) > Aha! So there it was! Thanks a lot for the poi

Re: [racket] Adding raw string syntax

2011-08-09 Thread Jos Koot
share your enthousiasm for Racket. Kind regards, Jos -Original Message- From: users-boun...@racket-lang.org [mailto:users-boun...@racket-lang.org] On Behalf Of Joan Arnaldich Sent: domingo, 07 de agosto de 2011 17:44 To: users@racket-lang.org Subject: [racket] Adding raw string syntax Hi

Re: [racket] Adding raw string syntax

2011-08-09 Thread Eli Barzilay
5 minutes ago, Sam Tobin-Hochstadt wrote: > On Sun, Aug 7, 2011 at 10:44 AM, Joan Arnaldich wrote: > > BTW, I searched the list and the docs for this feature before > > implemeting mine... the only thing I found were some old questions > > on backslashing in strings for regexes. But maybe this was

Re: [racket] Adding raw string syntax

2011-08-09 Thread Sam Tobin-Hochstadt
On Sun, Aug 7, 2011 at 10:44 AM, Joan Arnaldich wrote: > [snip] I love your post -- it's great to have lots of people writing about their experience hacking in Racket. > BTW, I searched the list and the docs for this feature before > implemeting mine... the only thing I found were some old ques

[racket] Adding raw string syntax

2011-08-09 Thread Joan Arnaldich
Hi there! I'm just starting to learn Racket. One of the thing that I appreciate most so far is the language extensibility (IMHO, the feature that makes it so unique compared to other languages...). So, when I couldn't find anything like python's raw string syntax (strings introduced by r'') or c#'