<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">

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?</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Also, I'm coming from Python, and was wondering if there was anything similar to the LEPL library available for Racket. The basic idea is that the library provides a syntax similar to EBNF syntax allowing me to declare the grammar, and then generates a parser for me, whose function interface is defined by the nonterminal symbols of the grammar.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thank you kindly for both your time an patience with a new Racket user,</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">- Gregory Gelfond</div></div>