@@ -161,3 +161,5 @@ It's ugly, but complete, and it does in fact work in isolated testing.
Trouble is, it doesn't play nice with the larger parser. I'm going to have to consult some other functional implementations of this algorithm to see how I can simplify this.
Specifically, I don't think I have a reliable way to tell it when it's done with the output. What I could do is find a way to have it ignore tokens that couldn't be part of the type expression. Or, in the let parser, I could gobble the tokens until the Equals, and then pass those tokens into the shunting yard parser. I think that might actually be easier, but I still want to see if I can make the shunting yard nicer.
2019-05-27 21:28 Let polymorphism is working but I don't yet know what to do with ascribed types - do we just drop them?