Thread:SamwiseFilmore/@comment-30645975-20170607023329/@comment-25330335-20170607235010

Well, read that website. It's very enlightening. That's what I thought too.

Once you've read the first few articles in that series, the following will make more sense:

Basically we need a standard for the language, then an AST that maps closely to HTML. The AST is going to look a bit different than the website, but it will still be the same concept, and I'll use his way of parsing text into it. Then of course the compiler will take the AST and generate HTML, using some XML library. That's where code generation and other fancy things will take place.