Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Style geekcode

by buckaduck (Chaplain)
on Mar 25, 2002 at 13:58 UTC ( #154089=note: print w/ replies, xml ) Need Help??


in reply to Style geekcode

Looking at the codes submitted already, I'm nervously hoping that there are other weirdos like me out there... But here goes:

I2t! Os1 ;0 S,><.><+><**><=><&&><and>++<gt><==> B1 L1 C1 P0 N< R1 Vc1a1p(s-1h0a1)r1d1 Hsw2 main-sub

Update: Well as long as we're all being picky, it's a shame that I can't specify NO spaces around an operator. That's why I'm leaving out the ++ operator unless this gets clarified some more. Also, I'm choosing "dummy" variables even though these are more typically "temp".

buckaduck


Comment on Re: Style geekcode
Download Code
Re: Re: Style geekcode
by Juerd (Abbot) on Mar 25, 2002 at 17:12 UTC

    it's a shame that I can't specify NO spaces around an operator.

    You can!! Just have the operator without "<" or ">". Your code would be:

    S,><.><+><**><=><&&><and>++<gt><==>
    I'll add a bit of clarification to the root node

    U28geW91IGNhbiBhbGwgcm90MTMgY
    W5kIHBhY2soKS4gQnV0IGRvIHlvdS
    ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
    geW91IHNlZSBpdD8gIC0tIEp1ZXJk
    

      In your example, how do you distinguish between these?
      ++ <gt> ++< gt>

      Update: Apparently he does it by reading the specs more carefully than I did. My bad.

      buckaduck

        In your example, how do you distinguish between these?
        ++ <gt> ++< gt>

        You don't have to. Both mean:

        • No space with ++
        • A space on both sides of comparison operators (except for ==)
        Valid ++ codes are:
        ++ <++ # These three ++> # have the <++> # same meaning
        So with "++<", the less-than sign is always part of the expression that comes after ++.

        U28geW91IGNhbiBhbGwgcm90MTMgY
        W5kIHBhY2soKS4gQnV0IGRvIHlvdS
        ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
        geW91IHNlZSBpdD8gIC0tIEp1ZXJk
        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-12-27 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls