-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quines #338
Comments
Might I suggest that this be as a full word only? I'd rather not have the full code printed just because I included the word "equine" as a variable name |
That's a good call - agreed that it shouldn't be triggered by "equine". Now I think about it... what if the activation keyword was If anybody's curious, the colliding words are:
|
The umlaut solves that issue, but frankly it's hard to type. Why not simply require that the word "quine" have whitespace (or file start/end) before and after? That avoids all overlap words. |
I like this idea very much. Especially the Quïne version with the umlaut. It fits the Rockstar language perfectly. It's harder to type on certain keyboard layouts but aren't quines hard to type ;-) |
So here's an idea:
The Rockstar interpreter will accept ANY source code file containing the word "quine", and will print the entire source code.
That's it. So if you want to use it in something like the ouroboros quine... easy.
The text was updated successfully, but these errors were encountered: