Re: [racket] I just can't understand readtables

2013-04-29 Thread Jens Axel Søgaard
Hi, 2013/4/29 Tomás Coiro > I'm trying to wrap my head around them and be able to use them. > I'm trying to write something for a Clojure compability layer in Github > and i just find it impossible to use the make-readtable procedure to start > doing something. > > > Can someone show me the code

Re: [racket] I just can't understand readtables

2013-04-29 Thread Danny Yoo
On Mon, Apr 29, 2013 at 2:12 PM, Tomás Coiro wrote: > Thanks for that Danny :) > I'll try to do that. > > Although I think that readtables documentations aren't understandable. > I mean, searching on Google I can find 3 or 4 questions about them and no > one seems to understand them. I'm pretty

Re: [racket] I just can't understand readtables

2013-04-29 Thread Tomás Coiro
3 12:44:54 -0600 > Subject: Re: [racket] I just can't understand readtables > To: tomco...@hotmail.com > CC: users@racket-lang.org > > Hi Tomas, > > For this particular case, you might not even need to use readtables. > Since you're already dealing with making your

Re: [racket] I just can't understand readtables

2013-04-29 Thread Danny Yoo
Hi Tomas, For this particular case, you might not even need to use readtables. Since you're already dealing with making your own Clojure-style language, you might be able to override the literal datum macro, #%datum, to rewrite uses of byte strings to regexps. Here's what this might look like: ;

[racket] I just can't understand readtables

2013-04-28 Thread Tomás Coiro
I'm trying to wrap my head around them and be able to use them. I'm trying to write something for a Clojure compability layer in Github and i just find it impossible to use the make-readtable procedure to start doing something. Can someone show me the code to make this #"hello" expand to (regex