Fellow Gentle Contemplators of Perl,

A co-worker and I were discussing microcontrollers, wireless automation, and BASIC. It seems as though many microcontrollers have a built-in BASIC interpreter, for those who don't like programming in assembly language, perhaps. There's even one that has a JVM.

We reasoned that it need not be hard to write some sort of barebones sub-Perl interpreter to use instead of BASIC. (In fact, if there are microcontrollers with embedded Linux, there might already be a Perl available in this area, eh?).

A simplified, Pico Perl, or subPerl, or Perl-- could be just the ticket: something which supports C-like control flow and provides the Three Data Types ($@%) would be a gigantic step forward from BASIC.

So, anyone know of anything like this? Of course, as I said earlier, if they've embedded Linux, perhaps Perl 5 is already available. Anyone know anything about that?

Or how about a Parrot embedded in a microcontroller?

Gratias a vos,

rje
j a p h

In reply to Pico-Perl 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.