Start defining serializer grammar. Scratch to play with it. All cases in
one file (cases.js).
prettyPrinter now does the right thing when given a string instead of an object.
Extract block, mods, elem, elemMods from predicates
First attempt at extracting bh-style predicates
Construct bh-style bem predicate strings and generate bh-template.
Add stx.toBh to API. Can serialize simple bemhtml. Grammar needs refactoring.
Fix tag mode being set for every template
Arg to stx.toBh to disable beautification. Produce unified bh.match for
equal bem entities
Always force modifying the tree by setting properties on ctx (pass
'true' as a second arg to ctx.tag and such)
Serialize multiple predicates correctly
Less repetitive template nesting
Much cleaner _nestTemplates
Pass a second arg to stx.parse to generate bemhtml tree instead of xjst
Classifier should generate bemhtml ast, not xjst
Classifier now inherits from xjst identity grammar and produces a
bemhtml ast
Classification no longer alters the bemhtml ast it consumes. Potentially
I can now feed it into serializer or perform serialization while classifying.
First attempt at serializer2 using bemhtml ast
New serialiser now does everything the old one does
Ignore [#xjst 'not elem'] parsing artefact. No longer wrap in iif
argumet to ctx.tag and the likes
Cleanup and get rid of the serializer that used xjst ast