Patrick the purple dragon

dragoncoder047’s blog

random thoughts about nonrandom things

Articles in the 'programming/c' category

Parent category: programming


By dragoncoder047

Congratulations, you have reached the end of this series.

I finally found a programming language that I can use on my Arduino: LIL, written by Kostas Michalopoulos. It’s a lot like Tcl (but not quite), and it has a simple to use C API so I can add custom …


By dragoncoder047

Today I did a little more work on my programming language TEHSSL. And in testing it, I discovered some anomalies.

The first one is that – because of a typo on my part – testing TEHSSL will occasionally segfault when it tries to print the type of the “next” object after freeing …


By dragoncoder047

I started writing a new programming language, TEHSSL, a few days ago. Starting from scratch (again!) wasn’t easy, and I’m nowhere near done yet. I have got two things working so far: the garbage collector, and the tokenizer. I have no idea how to handle the glue in …

Some Unrelated Ideas

By dragoncoder047

Immediately after I wrote the last post I stumbled upon the Cognate programming language. It is sort of a weird cross between Forth, Lisp, and Tcl, all at once, and I strangely like it. Currently Cognate is only implemented by a Cognate-to-C transpiler, so I won’t be able to …

Scratching My Head Again

By dragoncoder047

Again I find myself scratching my head over a simple scripting language. Yisp got way too complicated; tinyTcl leaked memory; and MicroPython can’t be extended with custom functions. All I want to do is have a scripting engine for my ESP32 that can run scripts off an SD card …


By dragoncoder047

C headers are annoying. I was getting fed up with uLisp/Yisp and so I decided to run another Google search for “embeddable scripting language for Arduino”.

It turned up mruby-arduino – poorly documented, and a little too big for my needs.

It turned up eLua – which unfortunately is just a …

uLisp Thoughts

By dragoncoder047

For a while I have been trying to work out some bugs in David Johnson-Davies’ uLisp interpreter for Arduinos. I ported some macro and quasiquote extensions for an older version of uLisp to the current version, and apparently I did not do something right – it crashes whenever I try to …