I am thinking of starting a project and I am looking to see if there is any interest. This will be an interpreted language that is very much like the language used in the HP41C, except you get labels to jump to (to avoid needing to renumber as one does in BASIC) and named variables instead of registers. The interpreter would interpret text source code directly, and would be capable of producing textual and numeric output

It will be a pretty big undertaking and I would rather only do it if there was a ‘market’ for it. The program will be distributed under an open source license.

Anyone?

  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 days ago

    You mean RPL? There are lots of interpreters for that already. That’s the sort of thing to write because you want to write it, not because other people want it, unless you’re part of a community that is asking for it.

    If you just want to implement an interpreter because language implementation interests you, I suggest Lisp or Scheme rather than something like RPL. The book “Structure and Interpretation of Computer Programs” explains how to do that and it is great. You can read it online at mitpress.mit.edu/sicp .

    • WasPentaliveOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I have not progressed to the point where I can manage a structured language interpreter. The language I would write is sort of like assembler for a machine that works in Doubles.