The lexbor
is being developed using the C
language, without dependencies.
- Modules.
- Single or separately libraries for each modules.
- No outside dependencies.
- Easy to port to any platform.
- C99 support.
- Speed.
- Fully conformance with the HTML5 specification.
- Manipulation of elements and attributes: add, change, delete and other.
- Support fragment parsing (for innerHTML).
- Support parsing by chunks.
- Passes all tree construction tests.
- Tested by 200+ million HTML pages with ASAN.
- Two way for parsing HTML: by Document, by Parser.
- Support determine encoding by byte stream.
- Fast.
- Fully conformance with the CSS Syntax module.
- Support parsing by chunks.
- Please, see roadmap of CSS Modules support.
- Fully conformance with the Encoding specification.
- Support
40 encodings
for encode/decode. - Support single and buffering encode/decode.
- Fast.
Binaries are available for:
- CentOS 6, 7, 8
- Debian 8, 9, 10
- Fedora 28, 29, 30, 31
- RHEL 6, 7
- Ubuntu 14.04, 16.04, 18.04, 18.10, 19.04, 19.10
Currently for x86_64
architecture.
If you need any other architecture, please, write to support@lexbor.com.
For build and install Lexbor library from source code, use CMake (open-source, cross-platform build system).
cmake . -DLEXBOR_BUILD_TESTS=ON -DLEXBOR_BUILD_EXAMPLES=ON -DLEXBOR_BUILD_SEPARATELY=ON
make
make test
Please, see more information in documentation.
- liblexbor — this is a single library includes all modules.
- liblexbor-{module name} — this is libraries each by modules.
You only need an HTML parser? Use liblexbor-html
.
Separate modules may depend on each other.
For example, dependencies for liblexbor-html
: liblexbor-core
, liblexbor-dom
, liblexbor-tag
, liblexbor-ns
.
The liblexbor-html
library already contains all the pointers to the required dependencies. Just include it in the assembly: gcc program.c -llexbor-html
.
You can create a binding or wrapper for the lexbor
and place the link here!
Available on lexbor.com in Documentation section.
Please, see roadmap on lexbor.com.
Alexander Borisov borisov@lexbor.com
Lexbor.
Copyright 2018-2020 Alexander Borisov
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Please, see LICENSE file.