by Agmine · 1w ago · 0 comments
Your Racket #lang inspired idea is really valuable, though I see two design challenges I'd love your thoughts on solving:
1. Minimal special characters: My programming language is built to use as few special characters as possible—just `|` (and `.` if you count that). Adding `#` would break that minimalist rule, so I'd need a cleaner way to declare it. 2. What should the default be? It seems most reasonable that omitting the directive simply falls back to the default mode, which brings back the exact collision issue you pointed out. Maybe the compiler should detect the conflict and show a helpful error message—for instance, if a Spanish keyword causes an error, it could explain how to fix it or switch the file to English-only mode (and vice versa).
And yes! `.Coma` is a pun on "punto y coma" (semicolon), among other things: first, the semicolon joke itself since the language avoids them; second, a play on C, C++, and C#—except instead of tacking `++` or `#` onto the end, it puts a `.` right at the start. When I came up with the name, I wanted something so silly that I'd regret it (I never did :) ) while still packing a lot of meaning behind it.