# Syntax for identifiers

**URL:** <https://racket.discourse.group/t/syntax-for-identifiers/1556>\
**Category:** Internals\
**Created:** [December 14, 2022, 1:48pm UTC](https://racket.discourse.group/t/syntax-for-identifiers/1556 "2022-12-14T13:48:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmatos](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/pmatos/32/26_2.png) [@pmatos](https://racket.discourse.group/u/pmatos)\
**Post date:** [December 14, 2022, 1:48pm UTC](https://racket.discourse.group/t/syntax-for-identifiers/1556/1 "2022-12-14T13:48:34Z")

</div>

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](https://small.r7rs.org/attachment/r7rs.pdf), page 62.

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

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

```

Or is there anything else that I might be missing?

---

<div class="post-metadata">

**Author:** ![sorawee](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@sorawee](https://racket.discourse.group/u/sorawee)\
**Post date:** [December 14, 2022, 2:16pm UTC](https://racket.discourse.group/t/syntax-for-identifiers/1556/2 "2022-12-14T14:16:39Z")

</div>

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

which says

---

<div class="post-metadata">

**Author:** ![pmatos](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/pmatos/32/26_2.png) [@pmatos](https://racket.discourse.group/u/pmatos)\
**Post date:** [December 14, 2022, 2:55pm UTC](https://racket.discourse.group/t/syntax-for-identifiers/1556/3 "2022-12-14T14:55:44Z")

</div>

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