http://www.perlmonks.org?node_id=1210320


in reply to Re^2: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!
in thread What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!

Any example(s) available for further enlightenment?

No, sorry. Confidential information.

But if the device was a MIDI player, you could adjust playback speed, volume, pitch, and repeat count for each folder of MIDI files stored in ROM. "Programs" would be composed of the playback settings and a folder name. You could have a "program" named "sad" that plays one ROM folder slowly, in a low pitch and at a low volme. And a "program" named "happy" that plays the same folder much quicker, louder and faster.

"...No call, no goto, no if, no stack."

Hard life.

Well, not for us. ;-) And to stay with the MIDI player example, you could select a folder of MIDI files to be played, but they would always be played in the same order.

Yes, this looks crazy. But trust me, the device won't be a MIDI player. And when it is used as intended, those restrictions make perfectly sense.

The users don't want to change the play order. Being able to modify the "playback" settings is sufficient for them. So they do not need call, goto, if or a stack.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^4: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!
by karlgoethebier (Abbot) on Mar 04, 2018 at 19:51 UTC
    "Confidential information...the device won't be a MIDI player... no goto, no if, no stack"

    Thanks. I begin to see it clearly now. May be it's a low budget missile or so. As an alternative i suggest this. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help