Re: [racket] Developing a Recursive Descent Parser in Racket

2013-10-24 Thread Joe Gibbs Politz
For an example of using ragg along with Racket's lexer tools, you can look at Pyret: Tokenize from an input port: https://github.com/brownplt/pyret-lang/blob/master/src/lang/tokenizer.rkt The ragg grammar for Pyret (which uses tokens defined in tokenizer.rkt): https://github.com/brownplt/pyret-

Re: [racket] Developing a Recursive Descent Parser in Racket

2013-10-24 Thread antoine
I have built a php parser with the racket yacc like tools and i am pretty happy with it. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Developing a Recursive Descent Parser in Racket

2013-10-23 Thread Neil Van Dyke
A lex&yacc-like pair of parser tools is included in Racket, and works OK. http://doc.racket-lang.org/parser-tools/ Danny Yoo did some work on higher-level parser specification. I'm not sure what's a good URL, but here are some: http://planet.racket-lang.org/display.ss?package=autogrammar.plt

Re: [racket] Developing a Recursive Descent Parser in Racket

2013-10-23 Thread Asumu Takikawa
On 2013-10-23 23:15:28 -0500, Gregory Gelfond wrote: >I would like to develop a simple compiler for a declarative language in >Racket (as a personal project), and am at a bit of a loss as to how to >proceed with respect to how to process text in Racket. What is the >standard means o

[racket] Developing a Recursive Descent Parser in Racket

2013-10-23 Thread Gregory Gelfond
Hi All, I would like to develop a simple compiler for a declarative language in Racket (as a personal project), and am at a bit of a loss as to how to proceed with respect to how to process text in Racket. What is the standard means of reading a sequence of string (or characters) from a file? Als