Git Product home page Git Product logo

myhtml's Introduction

MyHTML

MyHTML is a Swift warper for the MyHTML C library, a fast, pure C, HTML 5 parser.

Status

Most non-mutating high level parsing functions are already warped, in other words you should already be able to read the DOM tree with the current state of the project. Contributions, in the form of issues or PRs are welcome, don't hesitate to contact me if you have any requests or suggestions.

This library has continuous integration, the master branch is protected and the master branch tip should always pass tests.

Master branch

CircleCI

Dev branch

CircleCI

Installation

macOS

To install the MyHTML C library on your machine, cloning the MyHTML C repo and following the install instructions should be enough.

Linux

Installing on Linux is nearly as easy as on macOS, start by cloning the MyHTML C repo. Since the Linux linker doesn't search for shared libraries in /usr/local, which is the default install location, my best recommendation is to specify a different install prefix. From the root of your MyHTML C library source clone, run:

make prefix="/usr"
make test
make install prefix="/usr"

Additional installation notes

License notes

This Swift wrapper is distributed under the Apache License 2.0, note that this license only concerns the Swift wrapper. The MyHTML C library is distributed under it's own license.

myhtml's People

Contributors

popflamingo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myhtml's Issues

Fix all early free issues

The warper object dep graph isn't correct, causing some deinit when it shouldn't. 607f2c1 already fixes part of it but it's plausible that other structures probably get deallocated too quickly.

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.