vritant24 / cleave-html

A modular way to write static webpages
MIT License
1 stars 0 forks source link

Source File Reader and Reader Creator for Parsing #11

Open claytn opened 6 years ago

claytn commented 6 years ago

Changes Made:

SideNote: The implementation for some of the methods I've written for the Reader may change based on the functionality we need most for the parser phase.

claytn commented 6 years ago

Don't approve this just yet. I started messing around with that pattern matching library and I think I'd like to move some of this logic outside the reader and into the parser itself. The reader was hiding too many details of its own for things like getTag and that should be able to be seen within parser similar to how it was for the miniscala compiler.

I'll merge another branch into this one soon.

vritant24 commented 6 years ago

Yeah I like that train of thought. I was kind of thinking along the same lines