riff-lang / riff

The Riff programming language
https://riff.cx
BSD Zero Clause License
23 stars 1 forks source link

`ord()` doesn't support multi-character codes #54

Closed darrylabbate closed 1 year ago

darrylabbate commented 1 year ago

ord('abcd') should be equivalent to 'abcd' when character literals were supported (removed in e8bd41d)

darrylabbate commented 1 year ago

cc:

Not reopening this (yet); simply documenting that while this makes since for ASCII codes, this feature is questionable wrt Unicode code points.