Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML parser from cobalt #29

Open
blockspacer opened this issue Sep 16, 2019 · 0 comments
Open

HTML parser from cobalt #29

blockspacer opened this issue Sep 16, 2019 · 0 comments

Comments

@blockspacer
Copy link

blockspacer commented Sep 16, 2019

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!).
  • ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant