Open parsonsmatt opened 7 years ago
Hey! I'd like to take a crack at this. It should be a good way to acquaint myself with the code, then I am thinking about looking at #1
awesome! Feel free to put up a PR when you can :)
Another possible idea -- rather than smashing a bunch of strings together, come up with a limited data Syntax = ...
type that represents the limited fragment of Haskell syntax we're working with, and write a reasonable render :: Syntax -> String
function for code gen.
Ah, just now seeing this after I submitted my PR #7
I like this data Syntax = ...
idea a lot, and I would like to give it a shot.
I will get to work on it tomorrow after class. Signing off for now :)
Use
newtype
over the variousString
s that are being passed around to make it difficult to mix them up.