Kawa Parser Extension

Kawa Parser Extension


ABOUT EXTENSION

Hello there, this is another extension created by me and it is called Kawa Parser extension. It allows to evaluate Scheme expressions/commands/code. For those of you wondering what is Kawa, this is a perfect site to learn more about it: https://www.gnu.org/software/kawa/

BLOCKS

EXAMPLE STRINGS

(+ 3 4)
(if (< 3 4) (+ 5 5) (+ 5 6))
(primitive-throw (java.lang.IndexOutOfBoundsException "bad index"))

DOWNLOAD

edu.moliata.kawaparser.aix (6.6 KB)


Best regards, Ben (@moliata on GitHub)

7 Likes

I love these kinds of extensions. Back in the day I made my own “programming language” in Delphi and with some VCL component which allowed me to execute expressions much like this extension works.

It’s great to play, but I couldn’t find any real-world use case for such a thing. Anyone has any ideas how this could be used? It would be awesome if we could work with app components from within kawa code. Like, set a label text from kawa code (so the reference to the label is in the kawa code, not from the left side of your “call” block). Could that be done?

1 Like

Simpliest usage case: Scheme language learning app

2 Likes

This is s great extension Ben, nice work!!

2 Likes