Re: [racket-users] Re: Use Parsack to parse a #language?

2015-05-14 Thread Jay Kominek
On Mon, May 11, 2015 at 11:01 PM, Daniel Prager daniel.a.pra...@gmail.com wrote: Once I get my head around what's needed to connect up a custom reader, I should be in a position to have a shot ... and ask further questions. I put together a #lang unlambda which has a custom reader, semantics,

Re: [racket-users] Re: Use Parsack to parse a #language?

2015-05-12 Thread Greg Hendershott
On Mon, May 11, 2015 at 9:40 PM, Daniel Prager daniel.a.pra...@gmail.com wrote: I don't see Daniel's post yet. Is it just me, or is Google Groups delaying quite a few messages lately? Greg Hendershott can probably fill you in on more unpleasantries, as his markdown parser is the biggest

[racket-users] Re: Use Parsack to parse a #language?

2015-05-12 Thread Stephen Chang
Once I get my head around what's needed to connect up a custom reader Matthew's example from his talk at the first RacketCon (and other conferences) might be a good place to start: https://github.com/mflatt/scratchy/blob/master/scratchy/reader.rkt

Re: [racket-users] Re: Use Parsack to parse a #language?

2015-05-12 Thread Asumu Takikawa
On 2015-05-12 00:15:45 -0400, Stephen Chang wrote: I seem to recall that Racket used to come with a combinator parser library. It's been removed but I don't remember why but maybe that could be an indication that it's not a good idea? It was removed due to bitrot and to reduce the size of the

[racket-users] Re: Use Parsack to parse a #language?

2015-05-12 Thread Daniel Prager
Hi Stephen Thanks for the encouragement, and the tips: I was wondering especially about item 3. Once I get my head around what's needed to connect up a custom reader, I should be in a position to have a shot ... and ask further questions. Dan -- You received this message because you are

[racket-users] Re: Use Parsack to parse a #language?

2015-05-11 Thread Stephen Chang
Glad you're having a good time! I think you should be able to use it to implement your language's reader but I don't have any actual experience doing so. I seem to recall that Racket used to come with a combinator parser library. It's been removed but I don't remember why but maybe that could be