dragoncoder047’s blog

random thoughts about nonrandom things

Articles tagged with programming

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 …


It's September!!

By dragoncoder047

Unfortunately that time of year has crept up… school has started again. And not just any kind of school: I find myself in 12th grade, balancing seven classes, two with AP tests at the end, three with huge final projects. I’m also trying to apply to college at …


In Search of a Brain

By dragoncoder047

I am not an expert in machine learning by any means. I do not understand the mathematics behind a neural network, much less how to implement one. My preferred method of teaching computers what to do is by writing code, not training machine learning models. Yet, strangely, today I find …


PICKLE Has Regular Expressions, Apparently

By dragoncoder047

I worked for a while last week on the PICKLE implementation in Python. As I no longer have to work on the garbage collector, after I wrote a little “glue code” I immediately dove into the core functionality of PICKLE: the pattern-matching engine. Once I get the algorithm down, I …


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 …


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