Shop OBEX P1 Docs P2 Docs Learn Events
Programming with Stella? (pre-conceptual idea) — Parallax Forums

Programming with Stella? (pre-conceptual idea)

RaymanRayman Posts: 14,646
edited 2017-04-10 20:14 in Propeller 1
At work, we have a waveform manipulating macro language called Stella.
It's not really a programming language because it doesn't have loops or branches.
Still, I've wondered if it would be nice as a real language...

Anyway, attached is a program that takes a look at what a Stella programming tool might look like.
It's basically a grid where each row is like a line of code.
You could turn on an LED connected to an I/O pin with one row (see attached screenshot #1)
You could blink the LED with a few more rows (see attached screenshot #2)

The column labels change, depending on what selections you make and which row is selected.
I've stolen the background colors from the Prop Tool.

Anyway, this is perhaps similar to Blockly, but perhaps could be more functional (?)

Anyway, this Windows executable doesn't generate any output.
It's just something to toy with at the moment...
It's written in pure MFC though, so should work with Wine on Mac and Linux (at least, I think)

644 x 338 - 17K
703 x 380 - 22K

Comments

  • Heater.Heater. Posts: 21,230
    Rayman,

    Just how hard do we want to make it to program something?
    ...basically a grid where each row is like a line of code.
    As far as I can tell each line is a line of code in some language or other.

    It's confusing:

    How is "repeat" or "wait" a "pin function" as the column they are in suggests?

    How is "forever" or "N milliseconds" a pin number, as the column they are in suggests?
  • Wow, I clicked through to this thinking it would be about Atari 2600 VCS programming (the chipset was known as "Stella" when it was in development in the 1970's, and the name has stuck with retrodevelopers).
  • RaymanRayman Posts: 14,646
    The column names change when you change rows...

    I have no idea where the name Stella came from...
  • RaymanRayman Posts: 14,646
    Interesting... Well, the guy that wrote the Stella I use did come from MIT, probably from the same era. I'll have to ask if there's any relationship...

    I'm wondering if it would be better to put the category dependent column labels on every other row.
    That would improve readability at the cost of half the density.
    I'll have to try that and see what it looks like...
Sign In or Register to comment.