dragoncoder047’s blog

random thoughts about nonrandom things

Articles tagged with programming

Now Fully Two-Dimensional

By dragoncoder047

Last time I mentioned something about Schemascii, I had just completed the first version. It works well for what I need it for, but the internals are very crude. Schemascii doesn’t even have advanced components such as op-amps and logic gates – something that has prevented me from fully being …


Pointer Soup

By dragoncoder047

I never realized that the concept of a pointer could get so confusing. Over the last two months I came up with a number of different ideas that all involve pointers and got my brain all twisted up in knots when I got to the pointer part.

When I left …


In Defense Of Eval

By dragoncoder047

Your honor, this programmer has obvious disregard for the rules of Sane Programming. We can agree that it is common knowledge that there are certain features of programming languages that are available, but are not to be used. Anyone who does use them is deserving of shame. I present to …


Perhaps It Was Too Complicated

By dragoncoder047

I guess I lied. About five months ago, I posted some thoughts about an upcoming Python interactive fiction engine, where the world model is not actually a tree, but simulated as such by relations. For example, there could be an apple inside of a refrigerator, and while it would make …


A Hash-Mapped Mess

By dragoncoder047

It has not been a good week. I set out on Tuesday to actually add real objects to PICKLE, with a hashmap of properties and multiple inheritance and everything. Suffice to say, that wasn’t easy. Between null pointer dereferencing, sloppy APIs, and an incomplete algorithm, it took several hours …


The Lesser of Two Evils

By dragoncoder047

I’ve been trying to write some of the code to implement PICKLE’s parser and evaluator – it’s not going well. The hard part is that everything in PICKLE is done using continuation-passing style. Everywhere the evaluator has a chance of calling user code (that may capture a continuation …


Order Up

By dragoncoder047

I’ve been tinkering with David Johnson-Davies’ uLisp interpreter for a while now. It’s designed to be small first and foremost, so that the core part that fits on the rather wimpy ATmega328 (i.e. an Arduino Uno) will still achieve maximum usefulness. Most of the optimization is achieved …


The God Language

By dragoncoder047

I did a lot. In the two months since I last shared something I’ve worked on no less than four different projects, all while trying to slip them in between an avalance of schoolwork and college applications. Oh, and I also spent a week sick with COVID-19. (It’s …


Zero-Thickness Tree

By dragoncoder047

In a previous post, I started some mental planning for an interactive fiction engine in Python. I picked it up again last week and started working on a new version. Custom logic is implemented using a tiny Python library I created called json_runner, which as you might guess, is capable …


Continuations and the thunk queue

By dragoncoder047

After I made the last post – where I decided that PICKLE would be done in continuation-passing style – I revisited one extremely simple toy programming language done in continuation-passing style I found online (here). I figured it would be a good example of how I could implement PICKLE. The only problem …


Page 1 of 4 Next> Last>>