 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
scott wrote:
>> Typically, it's done with regular expressions. And typically, "-37" is
>> two tokens in programming language compilers, at least.
>
> OK, and then is there only one token for "minus", or are there two for
> unary and binary minus? ie does the parser decide or the tokeniser?
Typically, it's one token. You can't tell (in a language like Pascal) as
you're parsing tokens. You have to get to the syntax tree before
figuring out whether it's a unary or binary minus.
In APL, there are two minus signs, one for the operator and one you put
in front of negative numbers. Which helps more than you'd think because
all operators are right-associative.
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Phil Cook wrote:
> [smack] Blog!
Especially for you...
http://blog.orphi.me.uk/archives/332
PS. OMG - how I have "Especially For You" stuck in my head!! >_<
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
And lo on Fri, 26 Sep 2008 10:32:23 +0100, Invisible <voi### [at] dev null> did
spake, saying:
> Phil Cook wrote:
>
>> [smack] Blog!
>
> Especially for you...
>
> http://blog.orphi.me.uk/archives/332
Now hop onto your haskell group and ask their opinion and try to get it
linked in on various Haskell wiki's etc.
> PS. OMG - how I have "Especially For You" stuck in my head!! >_<
Dibs on being Jason.
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Phil Cook wrote:
> Now hop onto your haskell group and ask their opinion and try to get it
> linked in on various Haskell wiki's etc.
The thought did cross my mind... It might make it to the Haskell Weekly
News! o_O
>> PS. OMG - how I have "Especially For You" stuck in my head!! >_<
>
> Dibs on being Jason.
...WTF?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
And lo on Fri, 26 Sep 2008 14:29:01 +0100, Invisible <voi### [at] dev null> did
spake, saying:
> Phil Cook wrote:
>
>> Now hop onto your haskell group and ask their opinion and try to get it
>> linked in on various Haskell wiki's etc.
>
> The thought did cross my mind... It might make it to the Haskell Weekly
> News! o_O
Fame at last.
>>> PS. OMG - how I have "Especially For You" stuck in my head!! >_<
>> Dibs on being Jason.
>
> ...WTF?
Okay, okay I'll be Kylie; sheesh.
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Dibs on being Jason.
What, while Andy is being KM? o_O
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> The thought did cross my mind... It might make it to the Haskell
>> Weekly News! o_O
>
> Fame at last.
Heh. I already round out that there's a ticket delaying the release of
GHC 6.10, and it was opened in response to an email I wrote - a year
ago! o_O
>>>> PS. OMG - how I have "Especially For You" stuck in my head!! >_<
>>> Dibs on being Jason.
>>
>> ...WTF?
>
> Okay, okay I'll be Kylie; sheesh.
Oh, wait - that song was Jason and Kylie??
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
And lo on Fri, 26 Sep 2008 16:04:02 +0100, Invisible <voi### [at] dev null> did
spake, saying:
>>>>> PS. OMG - how I have "Especially For You" stuck in my head!! >_<
>>>> Dibs on being Jason.
>>>
>>> ...WTF?
>> Okay, okay I'll be Kylie; sheesh.
>
> Oh, wait - that song was Jason and Kylie??
Out of perverse curiosity who did you think it was by?
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Oh, wait - that song was Jason and Kylie??
>
> Out of perverse curiosity who did you think it was by?
*shrugs*
It's not something I've spent a lot of time thinking about...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Orchid XP v8 wrote:
>> Oh. I *highly* suggest you put this up on your blog or your web site or
>> something like that, for public consumption. Get comments from a lot of
>> people, find jobs in Haskell and/or teaching because you can write like
>> this, etc.
>
> Heh. I could add it to my blog. Nobody on earth will ever actually read
> it, but sure, I can add it. ;-)
Does Haskell have a wiki?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |