Patrick the purple dragon

dragoncoder047’s blog

random thoughts about nonrandom things

Recent articles...

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 …


ParTcl

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 …


Lisp Practice

By dragoncoder047

Today I decided I would have a little fun with Lisp. I wanted to try and make a program that you can type in a function and get a graph of it.

I started off with a function that takes an $x$-value and a list of coefficients, and evaluates …


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 …


(Almost) No Javascript!

By dragoncoder047

I did a total redesign of my Langton’s Ant simulator last week – and most of the formatting I was able to do with pure CSS - no Javascript needed for layout control.

Previously I had a rather crude layout consisting of a fixed-size canvas and a textbox below it. The …


Two Down, A Zillion More To Go

By dragoncoder047

I have finally written code that actually compiled and ran on the little ESP32 board I bought, and I hate the blasted thing already.

For starters, the process is slow, annoying, and tedious:

  1. I click UPLOAD, and the Arduino IDE begins compiling by … dumping preferences.
  2. It then has to shuffle …

Shifting Gears

By dragoncoder047

Aaah, that’s been a nice break from coding. Four weeks with no commits pushed to Phoo. It’s a shame I left it in a broken state. I haven’t the slightest idea why it’s broken — but then again, all the other times Phoo broke, I never knew …


Langton's Ant Music

By dragoncoder047

Over the weekend I joined the conwaylife.com forums because I am interested in cellular automata. I find watching the mechanisms mesmerizing, and building them exciting.

I also have an interest in music, and so a year or two ago I tried to generate music from cellular automata. I used …


Gah... I broke it!

By dragoncoder047

Last time I had just announced that Phoo was finished. Well, it’s still finished — except for the fact that the online console no longer works. I tried porting the shell code to Phoo, but that ended up breaking the shell!

It was pretty much a line-for-line translation, so I …


<<First Page 2 of 3 Last>>