itsjohncs / mono-markup

MIT License
0 stars 0 forks source link

Initial Development #1

Open itsjohncs opened 9 years ago

itsjohncs commented 9 years ago

So my last thoughts on this were that I wanted to repurpose the pushdown lexer to actually just do the full parse to an AST. So going to work on doing that. Excited to get that done, because then I'll have a real parser for this thing.

itsjohncs commented 9 years ago

Yay! This thing now parses! The AST is a little ugly though... Going to try to get it as clean as possible without introducing transforms.

itsjohncs commented 9 years ago

So there's a problem now where there's basically too many "inline-content" elements and the context is being lost. I need to make some kind of inheritance system so the parser creates "ordered-list-item" and such node.

itsjohncs commented 9 years ago

Alright, think I mostly took care of that. Some code quality cleanup should probably happen, then I can probably start in on a ast to html converter.