Assembler in Haskell

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Assembler in Haskell

dansan
I have a working version of the assembler in Haskell, and figured y'all might be interested in checking it out. Seems that most people in this forum are not going to be using Haskell to implement this, so I don't feel too bad about sharing this.

I'm not a Haskell guru, so don't be surprised if you see things that make you go *yuck*.  I'm debating whether to clean up my code (i.e. at least add better error handling), or just plow on to the next chapter. Well see.

I have specified a ADT for the Assembler, which wasn't strictly required, but which might allow me to do some interesting stuff later on.

https://gist.github.com/dstcruz/5272727
Reply | Threaded
Open this post in threaded view
|

Re: Assembler in Haskell

ybakos
Awesome, thanks for sharing!