Skip to content

An html lexer implemented as defined in the HTML Standard - Tokenization

License

Notifications You must be signed in to change notification settings

hooddanielc/yourhtml

Repository files navigation

yourhtml lexer

Build Status

A hand rolled lexer implemented as described in HTML Living Standard Tokenization.

Building

Dependencies

  • clang - c++ compiler
  • ib - c++ build tool
git submodule init
git submodule update

# run all tests
ib --test_all test

# build a single test
ib test/simple_token-test

# run
../out/debug/test/selector-test

Example

int main(int, char*[]) {
  // TODO
  return 0;
}

About

An html lexer implemented as defined in the HTML Standard - Tokenization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages