Response to another post: I've "forked" the Perl2 source here: https://github.com/bobbyjim/perl2

PURPOSE/REASON. I'm shy about this question because mainly this is -Ofun, and therefore not necessarily practical, but these are the thoughts tip-toeing through my mind:

Because It's Perl -- But It's Not (BIP-BIN). Wikipedia says that Perl is a family of "two" languages. But really one could argue, perhaps perversely, that there are three languages accounted for... if you include Early Perl. Regardless of its perversity, I feel that resuscitating a Small Perl could be fun and even useful for me. I could potentially Dockerize it, using them for a strange kind of microservice (an interesting and amusing exercise since it seems that Perl2 doesn't really have sockets). (I note that "no sockets" means it won't do CGI). Even a source code renovation could be fun, instructive, and even useful. Some of the Perl2 code is just not needed; how much? I don't know. I want to find out. I want to try it.

My Edification. Every year I go through phases in programming. I'm currently in the "bytecode interpreters are interesting" phase, and (re-)learning about them. Perl2 is a great case study in an interpreted language that's not-as-big-as-Perl5.

Because It's Small. I like minimal-but-effective things, and Perl2 qualifies. I do think about Docker images and microcontrollers and circuitPerl and the need for tiny binaries. But mainly it's small enough to wrap my brain around it.


In reply to Re^4: perl 2.01 on Cygwin by rje
in thread perl 2.01 on Cygwin by rje

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.