[plt-scheme] Refs for creating non-lispy DSLs

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Nov 3 18:46:49 EST 2009

Well it doesn't count transistors (so XOR and OR both count the same)
and it doesn't consider layout so do take it with a grain of salt. I
had fun making it tho. :)


On Tuesday, November 3, 2009, Geoffrey S. Knauth <geoff at knauth.org> wrote:
> Thanks!  I'm teaching a computer architecture class, and the students would get this.
> On Nov 2, 2009, at 20:18, Robby Findler wrote:
> I have one more example that's pretty self contained if you'd like.
> See the file rca-hdl.ss as an example use of the language. Sorry, no
> docs, but feel free to ask me questions if you can't figure anything
> out.
> It is a (mini) hardware description language. The one in the example
> file just evaluates the program. Switch it to "mini-hdl-gc.ss" to see
> it do some gate counting. In that language you can also leave off some
> of the inputs (remove the "= <number>" part of the declaration) and it
> will compute the gate counts for all possible inputs.
> hth,
> Robby
> <hdl.tar.gz>

Posted on the users mailing list.