在 Datomic 中,为什么在 db/ident 名称中使用数字会产生无效令牌错误?

In Datomic, why does using numbers in a db/ident name produce an Invalid Token error?

我注意到这会产生 "Invalid Token" 错误:

{
  :db/id #db/id[:db.part/user]
  :db/ident :my.namespace/54
  ...
}

问题在于使用数字“54”。如果这样写就可以正常工作:

{
  :db/id #db/id[:db.part/user]
  :db/ident :my.namespace/fifty-four
  ...
}

这是为什么?

EDN(尤其是 Clojure)的关键字语法如下:

[...] Keywords follow the rules of symbols, except they can (and must) begin with : [...]

特别是:

[...] Symbols begin with a non-numeric character and can contain alphanumeric characters and . * + ! - _ ? $ % & = < > [...]