![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 11/07/2010 5:40 PM, Jim Henderson wrote:
> On Sun, 11 Jul 2010 09:38:23 +0100, Stephen wrote:
>
>> On 11/07/2010 7:04 AM, Jim Henderson wrote:
>>> On Sat, 10 Jul 2010 18:04:27 +0100, Stephen wrote:
>>>
>>>> On 10/07/2010 5:30 PM, Jim Henderson wrote:
>>>>> On Sat, 10 Jul 2010 09:25:03 +0100, Stephen wrote:
>>>>>
>>>>>>> Move to a cooler clime. ;-)
>>>>>>>
>>>>>> I did, I came back home.
>>>>>
>>>>> Well, there you go. :-)
>>>>
>>>> It doesn't feel like it today at 30° C
>>>
>>> Aye, here it's been pretty miserable as well.
>>>
>>>
>> A bit cooler today, Max 25° C
>
> That's a good temp, actually where we're at right now. :-)
>
:-D
--
Best Regards,
Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Invisible <voi### [at] dev null> wrote:
> How do you do this in Haskell / Eiffel / any other languages that
> perversely chose "--" as the comment marker?
I wonder if that fact, and the fact that -- is the decrement operator
in C++, could be used to create a C++/Haskell polyglot.
(Of course some people could argue that such a thing would be an
abomination and an affront to everything that is holy and just in this
world...)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I wonder if that fact, and the fact that -- is the decrement operator
> in C++, could be used to create a C++/Haskell polyglot.
The other Fun Thing is that Haskell uses "{-" and "-}" as comment
delimiters. (Although I guess those aren't valid fragments in C++.)
Ooo, and not forgetting that Haskell allows you to define "//", "/*" and
"*/" as operator names. :-D
> (Of course some people could argue that such a thing would be an
> abomination and an affront to everything that is holy and just in this
> world...)
Yes, actually.
Then again, I'm the kind of sick person who occasionally delights in
such things... I guess I had a disturbed childhood or something.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Warp wrote:
> Invisible <voi### [at] dev null> wrote:
>> How do you do this in Haskell / Eiffel / any other languages that
>> perversely chose "--" as the comment marker?
>
> I wonder if that fact, and the fact that -- is the decrement operator
> in C++, could be used to create a C++/Haskell polyglot.
>
> (Of course some people could argue that such a thing would be an
> abomination and an affront to everything that is holy and just in this
> world...)
http://mauke.ath.cx/stuff/poly.poly
Count the supported languages. I don't know if it's the most awesome thing
in the world or just an abomination far greater than your idea.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> http://mauke.ath.cx/stuff/poly.poly
>
> Count the supported languages. I don't know if it's the most awesome thing
> in the world or just an abomination far greater than your idea.
Oh sweet! Literate Haskell... I hadn't even thought of that.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez <nic### [at] gmail com> wrote:
> http://mauke.ath.cx/stuff/poly.poly
> Count the supported languages. I don't know if it's the most awesome thing
> in the world or just an abomination far greater than your idea.
I counted these (some of which I'm just guessing):
- Whitespace
- zsh script
- bash script
- sh script
- Ruby
- Perl
- tcl
- Makefile
- C++ (with and without trigraphs)
- C89, C99 (with and without trigraphs)
- Haskell
- Brainfuck
- Python
- HTML (well, not really a programming language, but...)
- Javascript
That's at least 15.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |