Syntax for identifiers

I have been looking at the Racket syntax and one of the most unconventional things when you get to the details of it, is the syntax for identifiers.

For example. 1/n is not a valid R7RS identifier according to the small spec, page 62.

What are the modifications for the Racket identifier grammar and is this documented anywhere? Is it just the case that in Racket:

<initial> -> <letter> | <special initial> | <digit> 

Or is there anything else that I might be missing?

The documentation is at https://docs.racket-lang.org/reference/reader.html#%28part._parse-symbol%29

which says

1 Like

Somehow I had missed that. Thanks. That explains a lot.