The Beautiful Simplicity of colorForth

colorForth As much fun as hand packing instructions was in the last post, that was tedious. Let’s move on to colorForth. Don’t worry too much about what the code above does (prints “colorForth rocks!”). It compiles to this: Isn’t the source beautiful? So colorful! The colors are not merely syntax highlighting. They drive the semantics! They are…

6

Programming the F18

Programming the F18 As we saw in the last post, the GA144 chip is an array of 144 tiny computers or “nodes”. We tend not to call them “cores” because they are really more independent than that. Programming these interconnected nodes is something like working with agents or CSP. Each is an instance of the…

14

Chuck Moore’s Creations

This is the beginning of a series: Programming the F18 Beautiful Simplicity of colorForth Multiply-step Instruction Simple Variables When I heard that Chuck Moore was speaking at Strange Loop this year I just had to go. His talk yesterday was excellent! I’m not going to summarize it here. The talk will be online soon enough….

7

Speech Grammars in F#

People say that Vim keys are a grammar for talking to your editor and that’s exactly what they are. One weekend some time back I had fun making VimSpeak to see how well mapping English words to Vim keys would work. It turned out quite nice and some pieces of how it was built (in particular the…

2

Memoization

Don Syme blogged this quite some years ago but it just came up in a design review on my team this afternoon and it bears repeating. let memoize f =     let cache = new Dictionary<_,_>()     (fun x ->         match cache.TryGetValue x with         | true, res -> res        |…

8

Colemak

I switched to Colemak a couple of years ago. I love it. Never going back. Not really any faster than QWERTY, but so much more comfortable. One issue though is whenever I jump on someone else’s machine or remote into some server. I want to switch the layout but I don’t really want to install…

6

If you can’t beat ‘em, join ‘em

I’ve had fun making the little DCPU emulator (past couple of posts: 1, 2), but sadly, I’ve had no time to make a Forth for it. But hey, Matt Hellige has already done it! I just took his GoForth and got it up and going. Just grab the image from here and load it up:…

2

What’s a computer without I/O? Hot Silicon At Best…

[FYI: Matt Hellige’s excellent GoForth runs on this] I’m completely astonished at how quickly a community has sprung up around Notch’s DCPU-16. In the first 24 hours there were already tens of implementations in various languages (including mine). Now there’s a web-based IDE, a whole C compiler/assembler tool chain, an LLVM backend, … It’s craziness!…

1

Notch is Gonna Outdo Himself!

[Note: I/O has now been added] My son is completely obsessed with Minecraft. It’s an amazing game and the way he plays it, it really nurtures extreme creativity. I honestly haven’t been able to get into it myself but I was pretty intrigued by the ComputerCraft mod which allows you to script the game in…

18