[plt-scheme] [redex] language keywords

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Wed Jun 2 21:56:53 EDT 2010

On Wed, Jun 2, 2010 at 9:49 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
> Hi,
> What is the best way to specify what are the keywords of a language?
> I've seen variable-not-otherwise-mentioned and variable-except, but the problem is that I have 6 families of identifiers.
> Is there something as simple/direct as the list of keywords in syntax-rules/syntax-case?
> If not, any alternative suggestion?
> Thanks!
> -- Éric

Take a look at variable-prefix.  In my latest Redex work, variables
all start with x, y, or z, and I just have to avoid any keywords that
start with those.


Posted on the users mailing list.