Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Ook interpreter

by Your Mother (Canon)
on Aug 02, 2005 at 22:59 UTC ( #480310=note: print w/ replies, xml ) Need Help??


in reply to Ook interpreter

That's quite cool and I'd heard of BF but not Ook! This might be a stupid follow up, but I'm curious if there is an Ook! emitter anywhere. So instead of giving Ook! and getting Perl, you'd give it Perl and get Ook! Scanning the POD, I didn't see that functionality in the CPAN modules cog listed. (Maybe there is no way to do a perfect one--only perl can parse Perl and all--but any bit would be interesting/fun.)


Comment on Re: Ook interpreter
Re^2: Ook interpreter
by GrandFather (Cardinal) on Aug 03, 2005 at 00:21 UTC

    Ook is Turing Complete so there should be no problem parsing Perl into Ook. I leave that as a exercise for the reader however.


    Perl is Huffman encoded by design.
Re^2: Ook interpreter
by GrandFather (Cardinal) on Aug 04, 2005 at 20:35 UTC

    I have written an Ook! generator that creates an Ook! program to print a given string. It is currently in GrandFather's scratchpad if you are interested. Now appended to OP.


    Perl is Huffman encoded by design.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-07-10 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (213 votes), past polls