Patrick the purple dragon

dragoncoder047’s blog

random thoughts about nonrandom things

Recent articles...

A Boost Converter

By dragoncoder047

The original Roboraptor had dual power supplies. Two “AA” size batteries supplied 3 volts for the logic circuitry, and four batteries in a separarte circuit provided 6 volts for the motors. My redesign of the Roboraptor is designed to run off of a large single-cell 3.7 volt lithium battery …


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 …


Phooey! Phooey! Phooey!

By dragoncoder047

Phoo fried my brain.

My first programming language has just gotten way too complicated for me to maintain. I still haven’t found the bug in the shell. And in the process of debugging it, I may have caused more bugs, too. Argh!

It’s compounded by the fact that …


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 …


Well, I Got Something...

By dragoncoder047

Today I did a quick test of my little ATtiny85 microcontrollers’ capabilities. I had them sitting in a jar for a while, and I wanted to see if I could use them in conjunction as a coprocessor to manage some mundane task like regulating a motor. I have previously written …


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 …


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