I've been playing with MicroPython (uPy) - it's very clever. My first version of perl ran (still runs today) on my HP 200LX pocket computer under DOS:-
1991/09/11 00:12.52 149,628 DOS\perl.exe
I'm toying with the "geeky" idea of building myself a MicroPerl (uPl) Is there any "TLDR;" doc or set of instructions from where I can start to build the absolute most minimal perl possible, with every feature stripped out (to initially run under linux, as a starting-point for porting it to esp32) ? esp32 has around 480KB RAM (expandable by 4 or 8mb SPIFLASH) and 4MB "disk" (flash storage) expandable by SD card, so, nearly the same as my 200LX with it's PCMCIA slot. uPy manages to squash their language, all the hardware support stuff letting them do-away with any O/S, and assorted starter modules into this space:-
2023/11/12 00:19.18 1,661,872 ./ESP32_GENERIC-20231005-v1.21.0.bin
The latest perl seems somewhat excessive in it's release form, even before any OS emulation layer is tacked on:
2023/11/11 23:57.09 3,745,840 ./perl-5.38.0/perl
my guess is that someplace in those "100 platforms" that perl has been ported onto, there's probably something minimalist already, which might make a better starting-point than my default linux "./Configure" is outputting ? I have considered using my old perl from 1991, which is clearly doable, but if I'm going to port to esp32, I may as well go all-in on the geekfactor and try to use the latest release first, right? Pointers, anyone?

In reply to Building a MicroPerl distro for ESP32 and similar MCUs ? by cnd

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.