dragoncoder047’s blog

random thoughts about nonrandom things

Articles tagged with javascript

Pattern-Matching, Postprocessing, and a Buggy Bundler

By dragoncoder047

Welp, I did it again. I made another programming language. It took over two months of late nights and coffee and it somehow felt like only two weeks. And I certainly could have been writing other blog posts about it in the meantime, but I honestly didn’t think it …


One Hell of a Physics Engine

By dragoncoder047

I’ve been working on my upcoming platformer game, Debugger, way too much. And I haven’t really had the chance to add much of anything to the game itself. All I have been dealing with is trying to eliminate any source of lag in the game by any means …


So far ahead, yet so far behind

By dragoncoder047

I finally got around to testing the game I have been making, Debugger, using a game controller. For the most part, it went off without a hitch, but there were several problems I encountered – and none of them were fixable, because they were not bugs in my code, nor in …


Boy, Have I Been...

By dragoncoder047

Back in July, I had the following conversation with a friend over lunch:

Friend: What’s the most confusing computer science topic you’ve ever encountered? Explain it to me.

Me: Continuations. They’re a way for a program to manipulate its own call stack as if it were data …


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 …


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 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 …


Debugger, Almost

By dragoncoder047

Today I started work on the Phoo debugger. As-is, it is very simple – I already programmed in a “tick” function into Phoo that gets called every item, and so my debugger only needs to patch itself into this function.

However, the three buttons – “Into”, “Over”, and “Out” – caused me some …


I Still Have No Idea

By dragoncoder047

I was working yesterday on trying to root out the bug in Phoo’s online shell; but I never found it.

Currently Phoo works-ish; except that in the online shell, the error behavior is backwards:

  • Case A: When you give a bad input (that would crash), it prints no error …

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 …


Page 1 of 2 Last>>