dragoncoder047’s blog

random thoughts about nonrandom things

Recent articles...

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 …

Reverse-Engineering the Feedback 360

By dragoncoder047

Some time ago I ordered one of Parallax’s “Feedback 360” servos for a robotics project I’m working on. I wrote a little arduino library to control it, and it works well.

As-is, however, the servo itself is too big to fit where I want it to. I’m …


Segfaults

By dragoncoder047

Today I did a little more work on my programming language TEHSSL. And in testing it, I discovered some anomalies.

The first one is that – because of a typo on my part – testing TEHSSL will occasionally segfault when it tries to print the type of the “next” object after freeing …


TEHSSL

By dragoncoder047

I started writing a new programming language, TEHSSL, a few days ago. Starting from scratch (again!) wasn’t easy, and I’m nowhere near done yet. I have got two things working so far: the garbage collector, and the tokenizer. I have no idea how to handle the glue in …


Some Unrelated Ideas

By dragoncoder047

Immediately after I wrote the last post I stumbled upon the Cognate programming language. It is sort of a weird cross between Forth, Lisp, and Tcl, all at once, and I strangely like it. Currently Cognate is only implemented by a Cognate-to-C transpiler, so I won’t be able to …


Scratching My Head Again

By dragoncoder047

Again I find myself scratching my head over a simple scripting language. Yisp (my attempt at re-writing David Johnson-Davies’ uLisp) got way too complicated; tinyTcl (my attempt a re-writing Serge Zaitsev’s ParTcl) leaked memory like a sieve; and MicroPython can’t be extended with custom functions. All I want …


ParTcl

By dragoncoder047

C headers are annoying. I was getting fed up with uLisp and so I decided to run another Google search for “embeddable scripting language for Arduino”.

It turned up mruby-arduino – poorly documented, and a little too big for my needs.

It turned up eLua – which unfortunately is just a flashable …


Lisp Practice

By dragoncoder047

Today I decided I would have a little fun with Lisp. I wanted to try and make a program that you can type in a function and get a graph of it.

I started off with a function that takes an $x$-value and a list of coefficients, and evaluates …


uLisp Thoughts

By dragoncoder047

For a while I have been trying to work out some bugs in David Johnson-Davies’ uLisp interpreter for Arduinos. I ported some macro and quasiquote extensions for an older version of uLisp to the current version, and apparently I did not do something right – it crashes whenever I try to …


<<First <Previous Page 4 of 6 Next> Last>>