News for hackers. Stuff that matters.
Re:CamelCase vs. Underscores: Revisited by Joker_vD on Thursday January 26, 2023 @04:50AM (#34529712)
I actually have a toy language that uses emojis for keywords, allows me to reduce tokenizing to basically "split by whitespace, split into runs of characters of the same class (every character is its own class except for [A-Za-z0-9_-] which make up a single class), then post-process tokens for finer distinctions". Strings are somewhat more painful, but using \q instead of \" to escape the double quotes helps.

There are no comments on this comment yet.