Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Ook interpreter

by Your Mother (Archbishop)
on Aug 02, 2005 at 22:59 UTC ( [id://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.)

Replies are listed 'Best First'.
Re^2: Ook interpreter
by GrandFather (Saint) 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 (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://480310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-28 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found