Re:Python's Preprocessor – Pydong
by SkiFire13 on Thursday August 22, 2024 @05:04PM
(#41324385)
Reminds me of `break rust;` causing the Rust compiler to emit an internal compiler error. I wonder which other languages have similar easter eggs.
[ Parent
| on HN ]
Tcl really became “Enterprise-ready”[0] at this time.
> The Stardate time format had nothing to do with Sun. I added it to Tcl while working at Scriptics, as an easter egg for the then-upcoming Tcl2K Conference. One of the conference events was a competition to implement a standard-to-stardate conversion utility, using an arcane formula. Only one guy entered the event. He spent a couple hours agonizing over the implementation (as he was looking for a job at Scriptics, he was eager to impress) only to have the easter egg revealed afterwards. Of course he won the competition anyway. And he got the job, too. –
Eric Melski
> `break rust;` causing the Rust compiler to emit an internal compiler error
Is this real?
https://play.rust-lang.org/?version=stable&mode=debug&editio...
> error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
> --> src/main.rs:2:5
> |
> 2 | break rust;
> | ^^^^^^^^^^
> |
> = note: the compiler expectedly panicked. this is a feature.
> = note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-...
> error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
Lovely, and the word game is just great.
This one in Haskell is coincidental, but used as a joke:
``` import Data.Function
main = do let it = fix error print it ```
Re:Python's Preprocessor – Pydong
by notpushkin on Friday August 23, 2024 @06:49AM
(#41327868)
On HN, you can add code blocks by indenting with 2 spaces:
import Data.Function
main = do
let it = fix error
print it
Re:Python's Preprocessor – Pydong
by sans_souse on Friday August 23, 2024 @07:10AM
(#41327964)
If NLP counts, try xyzzy in gemini.google.com