Haku, my Japanese programming language, might be the first programming language with a compiler that incorporates a dictionary.
I implemented a feature to convert the Japanese writing to romaji in the generated code, and initially I had used some heuristics but because kanji have so many readings, it was not satisfactory. So I now built in a dictionary of 6,000 entries, purely for proper conversion to romaji which the end user actually never has to see. But I still think it has to be right.#compilers #programminglanguages #programming