HTML parser from cobalt
blockspacer opened this issue · 0 comments
blockspacer commented
General Information
- [+ ] Improvement
- [+ ] Feature
Description
It may be useful: High-quality C++ HTML parser from cobalt.foo project. CMake port of it can be found at blockspacer/skia-opengl-emscripten#5 and https://github.com/blockspacer/skia-opengl-emscripten/blob/master/src/cobalt/cobalt_dom.cmake#L32
Some possible use cases:
- Create something similar to gccx - CPX (JSX like syntax) support.
We can use C++ template engine - CXTPL and code generation to convert JSX into C++ (see https://github.com/blockspacer/CXXCTP )
With cobalt.foo html parser - create HTML parser with custom tags/JSX syntax.
With CXXCTP - create code generation rule - from JSX to HTMl/CSS.
With CXTPL - just combine C++ and HTML/CSS (and pass any complex C++ variables to HTML/CSS without binding!). - ...