Hacker News new | ask | show | jobs
by rurban 206 days ago
Stopped reading at this insanity https://github.com/DotFox/edn.c?tab=readme-ov-file#control-c...

Call it symbol, if it's not identifiable

1 comments

From the spec: about symbols - "Symbols are used to represent identifiers" about keywords - "Keywords are identifiers that typically designate themselves."

more than that: in this reader implementation nil, true, false are also valid identifiers with special handling to turn them into nil and bool.

I encourage you to reread original specification and then continue after "this insanity" :)