Code Monkey home page Code Monkey logo

lexbor's Introduction

Lexbor

Build Status

The lexbor project is being developed using the C language, without dependencies.

Features

  • Modules.
  • Single or separate libraries for each module.
  • No outside dependencies.
  • Easy to port to any platform.
  • C99 support.
  • Speed.

HTML Module

CSS Module

Encoding Module

Build and Installation

Binary packages

Binaries are available for:

  • CentOS 6, 7, 8
  • Debian 8, 9, 10
  • Fedora 28, 29, 30, 31, 32, 33, 34
  • RHEL 7, 8
  • Ubuntu 14.04, 16.04, 18.04, 18.10, 19.04, 19.10, 20.04, 20.10, 21.04

Currently for x86_64 architecture. If you need any other architecture, please, write to [email protected].

macOS

Homebrew

To install lexbor on macOS from Homebrew:

brew install lexbor

MacPorts

To install lexbor on macOS from MacPorts:

sudo port install lexbor

Source code

For building and installing 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.

Single or separately

Single

  • liblexbor โ€” this is a single library that includes all modules.

Separately

  • liblexbor-{module name} โ€” libraries for each module.

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.

External Bindings and Wrappers

  • Elixir binding for the HTML module (since 2.0 version)
  • Crystal Fast HTML5 Parser with CSS selectors for Crystal language
  • Python binding for modest and lexbor engines.
  • D Fast HTML5 Parser with CSS selectors for D programming language
  • Ruby Fast HTML5 Parser with both CSS selectors and XPath support.

You can create a binding or wrapper for the lexbor and place the link here!

Documentation

Available on lexbor.com in Documentation section.

Roadmap

Please, see roadmap on lexbor.com.

Getting Help

AUTHOR

Alexander Borisov [email protected]

COPYRIGHT AND LICENSE

Lexbor.

Copyright 2018-2023 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.

lexbor's People

Contributors

lexborisov avatar vtorri avatar kostya avatar davidkorczynski avatar phoerious avatar zyc9012 avatar rushter avatar helios-vmg avatar trikko avatar searene avatar own2pwn avatar niansa avatar timgates42 avatar sonertari avatar azq2 avatar lanodan avatar alexandruica avatar mardy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.