More Articles  

Writing a compiler in Ruby bottom up - step 13

It's been a few months, and apart from my side step into parser land I haven't had much time to keep posting this series, in part because of work, and part because of repeated illness that after being poked and prodded and x-rayed and being subjected to ultrasound (no, I'm not ...

Operations is a development concern

Over the years I've alternated between development and operations several times, often with severely blurred lines (read: startup where hiring ops people was far down the list of priorities; as well as Yahoo, where applications ops work was largely done by developers). Over the last two years the operational side has ...

A simple Operator Precedence parser

Consider this an "interlude" of sorts in my series on writing a compiler, since the parser that will be presented in one of the future parts of that series depends significantly on an operator precedence parser to cut down on the amount of code.

Writing a compiler in Ruby bottom up - step 12

At this point it's worth looking briefly at what is required to implement something more "serious" without a lot of excessive pain. It's really quite easy:

  1. We really want variable length arguments
  2. We want primitives that allow us to create and access arrays. Lets call them "array" and "index", ...

Writing a compiler in Ruby bottom up - step 11

It's been a long time, and but I finally have a little bit of time again, and it's time to continue.

At this point the next step is some re-factoring. As it stands the compiler is very tightly tied to x86, and before it gets bigger it's worth starting to redress ...

Still alive

Work and private matters have just kept me occupied lately...

I'm hoping to get back to posting my compiler series and other stuff this coming week.

I'm also planning on posting a bit on what I've learned about building out a grid/cloud computing platform over the last few months - my ...

Writing a compiler in Ruby bottom up - step 10

Uh, yeah. So much for posting the next part in a few days. I think I'll stop trying to second guess when I'll next have time (but sine I'm going off to Norway for vacation for a week, it's a safe bet the next part won't show up until later than ...

Writing a compiler in Ruby bottom up - step 9

As we've seen, 'while' can be implemented fairly easily in terms of a quite basic language. We could streamline it even more by reducing the verbiage needed to pass anonymous functions or by adding a Lisp style macro facility, but there are complications, so I'm biting the bullet and adding a built in "while" construct for now.

Hypno trip down the fractal rug - animated sierpinski in javascript

It's rare I see javascripts that makes me go wow!.

I've been experimenting with the canvas element myself, and there are some cool demos of it, but I loved this both because it looks good and because the resulting code is so simple..