|
|
|
|
|
by c3d
848 days ago
|
|
Let's ask the interpreter / compiler: ./xl -nobuiltins -parse /tmp/glop.xl -style debug -show
(infix is
is
is
)
So what it sees is a definition of a name 'is' as itself.Now, that name is very unlikely to be usable because `is` as an infix is so central to everything. As a matter of fact, it looks like even "is is 2" actually crashes the current implementation. Oh well. I wonder what a sensible error message on this would be. Probably: "Bill Clinton denied to comment on the meaning of that statement". |
|
Oh man, that’d be hilarious.
I’ve been hacking around with my own sorta Forth/Postscript like attempt at a language that runs on WebAssembly and does graphics in the browser.
Odds are it’ll never see the light of day. But if it does, you’ve now triggered all kinds of ideas for ridiculous ideas for error messages. Like starting them of with ‘hey bruh…’ or trotting out good ol’ Mr Clippy from Microsoft.