Patrick the purple dragon

dragoncoder047’s blog

random thoughts about nonrandom things

Articles tagged with programming

Error: out of memory

By dragoncoder047

I’ve been doing a little bit of everything lately. I’ve done a little work on PICKLE, trying to implement it first in Python so I don’t have to worry about the garbage collector. (The pattern-matching code is extremely complicated and screwed with my brain until I realized …


Powerful PICKLE Pattern Matching

By dragoncoder047

I did a lot of work on Tinobsy, the garbage collector for PICKLE. It’s pretty robust now, and passes all my tests – plus I translated it to C++ so I can take advantage of C++’s syntactic sugar for objects. All I think that I’ll be doing with …


Yet Another Garbage Collector

By dragoncoder047

Yet again I find myself writing a garbage collector.

I did a little work on PICKLE’s Javascript implementation, and perhaps Javascript is not the right choice. Because Javascript’s inheritance model is so similar to PICKLE’s, yet slightly different, implementing the inheritance (even with ES6 Proxys) is …


Pickle Tokenizer

By dragoncoder047

I’m starting to work on my Pickle programming language, this time in Javascript. After only a few days’ work, I’m surprised I got so much working. Currently I have both the tokenizer and the inheritance system working. The syntax of Pickle is pretty much in place now, and …


Manual Memory Management Madness

By dragoncoder047

I’ve been working quite a lot on my second programming language attempt, PICKLE. Admittedly, programming it in C has been a real chore. I started following the Make-A-Lisp tutorial to try to give myself some plan for executing PICKLE. Mal, unfortunately, recommends dynamically typed languages; that unfortunately is a …


A Very Confusing Data Model

By dragoncoder047

For the past week or two I have been working on a few things simultaneously. I keep prototype code that I’m developing but not quite ready to release yet in private GitHub repositories, and publish them when I’m ready. Lately I’ve been working on two different and …


Pickles!

By dragoncoder047

I’ve been playing around a little bit with LIL on my ESP32 arduino. It works, but there are a few things I don’t like. LIL isn’t object-oriented by default, so I can’t do a lot of what I am used to writing code in Javascript and …


Schemascii ± 0

By dragoncoder047

I have been working really hard this week on Schemascii. Like, maybe too much. But, I finally got Schemascii to the point that I could (if I wanted) upload it to PyPI and it would be a valid package.

Schemascii is also able to be called as a command-line program …


Schemascii ± 1

By dragoncoder047

I spent the last two days fooling around with my half-idea of a diagramming program, Schemascii. What it’s supposed to do is be able to make a diagram of a circuit (like the ones you might make in Eagle or KiCad before you plan a circuit board) out of …


LILduino

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 …


<<First Page 2 of 4 Next> Last>>