Sep 30, 2008
; As always, I will post when the code is "complete", but my progress can be followed on Github.
; Chapter 3 was a relatively short chapter (code-wise). It dealt mostly with side-effects and the virtues of a more functional style to ...
Sep 30, 2008
DSL
Language describing a scanner
Language to create Word of Dog parser
Goals for 2009
Emacs proficiency
Read at least one Jane Austen novel
Polyglot projects?
1802 emulator
Maze generator
WFE
Elite Trader
dnd
Testing Haikeeba 3
import fogus.haikeeba.core._
val mv = Move.construct().from('d',2).to('d',4).build()
mv.getFrom() == 51
mv.getTo() == 35
Ix Features?
Traits (because sometimes inheritence is not what you want)
2009 ...
Sep 26, 2008 some comments
Inspired by Stuart Holloway's excellent series porting Practical Common Lisp to Clojure and Ola Bini's bad-ass port of Paradigm's of Artificial Intelligence to Ruby. I have started my own quest to port Paul Graham's On Lisp to Clojure.
I have made it ...
Sep 15, 2008 some comments
For the past 10 years or so, I have attempted to keep track of the way in which my tastes in art (i.e. literature, music, film, etc..) are influenced. I initially started off doing this in the Dot language, but quickly ...
Sep 12, 2008
Lovecraft's Library
Bierce
In the Midst of Life, Can Such Things Be?, 21 Letters, The Monk and Hangman's Daugther
Bierstadt Dunsany the Dramatist
Caesar Commentaries on the Cival War and Commentaries on the Gaelic Wars
Eliot The Wasteland
The Fantasy Fam magazine
Lafcadio Hearn Kwaidan
Poe Marginalia
Tickner Poe's Helen
Edward White ...
Sep 9, 2008
In the past couple of days I've had some time to hack up the CLIPS scanner and parser to get a rudimentary binding syntax. Well, I threw that out last night and spent a couple hours re-writing the CLIPS parser. ...
Sep 5, 2008 one comment
Some random searches through my Library:
grep Zombie media_library.txt | cut -f31
28 Days Later
La Sexorcisto-Devil Music Vol. 1
Dawn of the Dead
Day of the Dead
Tombs of the Blind Dead/Return of the Blind Dead
Walk Among Us
Boogadaboogadaboogada!
Misfits
grep Gwar media_library.txt | cut -f31
Hell-o
grep Cat media_library.txt | cut ...
Sep 5, 2008
I have been playing around with the parsing routines for the Doris Project and have touched on something
that I like. To bind variables in the Doris environment, one can do the following:
# Bind _num to a number
var _num <- 1
_num
1
# ...
Aug 30, 2008
with-input-from-file
(with-input-from-file "some-file" read-line)
=> "first line of file"
The first argument of with-input-from-file specifies the file to
read. Its second argument must be a procedure of zero
arguments. With-input-from-file opens the given file and connects the
default input port to that file. In this context it evaluates ...
Aug 21, 2008
In developing Broccoli, I have turned up some extremely interesting language design principles that I would love to fold into Doris:
Clojure
Iterables
Clojure has a notion of sequences that allow different data structure to provide access as a logical list. The simplest example ...