awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/gumbo-parserArchived

0
View on GitHub↗
5,190 stars·664 forks·HTML·Apache-2.0·4 vues

Gumbo Parser

Gumbo-parser est une bibliothèque de parsing HTML5 haute performance écrite en C99 pur. Elle transforme le balisage brut en une arborescence de document structurée en implémentant les règles formelles de tokenisation par machine à états et de récupération d'erreurs définies dans la spécification HTML5.

Le projet sert d'outil de mappage de source HTML, reliant les nœuds parsés à leurs offsets d'octets et pointeurs d'origine dans le tampon d'entrée. Cela permet le suivi précis des emplacements sources pour les éléments dans l'arborescence de parsing résultante.

Au-delà du traitement complet de documents, la bibliothèque gère des fragments HTML isolés et fournit une interface de fonction étrangère basée sur C pour permettre l'intégration et les liaisons linguistiques pour d'autres environnements.

Features

  • HTML5 Parsers - Provides a high-performance parser that strictly adheres to the HTML5 specification for transforming markup into structured trees.
  • Token Offset Mapping - Maps structural nodes to their exact byte offsets within the input buffer to avoid data duplication.
  • Source Text Mapping - Maps elements in the resulting parse tree back to their exact character offsets in the source text.
  • AST-to-Source Mappings - Links parsed nodes in the resulting tree back to their original source code offsets.
  • DOM-to-Source Mappings - Links structural DOM nodes back to their originating source positions using byte offsets and pointers.
  • C99 HTML Parsing - Implements high-performance HTML processing in pure C99 for lightweight and fast integration.
  • Markup State Machines - Employs a deterministic state machine to transform raw character streams into discrete HTML5 tokens.
  • Spec-Driven Recovery - Uses official HTML5 specification rules to recover from malformed markup and ensure a consistent document tree.
  • HTML Parsers - Provides a C99-based engine that converts raw HTML strings into structured trees for programmatic analysis.
  • Source Location Mapping - Maps parsed HTML elements back to their original source locations to track content existence within a file.
  • Parsing Pipelines - Separates the initial tokenization process from the tree construction phase to correctly handle nested elements.
  • In-Memory Tree Hierarchies - Implements the parsed document as a hierarchy of linked nodes using C99 pointers for efficient traversal.
  • HTML Content Processing - Parses isolated HTML snippets into structured data representations without needing a full document.
  • DOM Fragment Parsing - Processes isolated snippets of HTML markup into structured fragments without requiring a full document.
  • Systèmes de build - A library for parsing HTML5 documents.
  • Bibliothèques réseau - HTML5 parsing library for C99.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.

Historique des stars

Graphique de l'historique des stars pour google/gumbo-parserGraphique de l'historique des stars pour google/gumbo-parser

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Gumbo Parser

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Gumbo Parser.
  • anglesharp/anglesharpAvatar de AngleSharp

    AngleSharp/AngleSharp

    5,499Voir sur GitHub↗

    AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a W3C compliant document object model. It functions as a programmatic HTML generator and a CSS selector engine for querying and locating specific elements within a DOM. The project provides tools for simulating browser environments to automate web interactions, navigate URLs, and submit forms. It includes a dedicated HTML and CSS minifier to reduce the file size of web assets by removing unnecessary characters. The library supports HTML DOM manipulation and the extraction of s

    C#angle-bracketanglesharpc-sharp
    Voir sur GitHub↗5,499
  • nanomsg/nanomsgAvatar de nanomsg

    nanomsg/nanomsg

    6,277Voir sur GitHub↗

    nanomsg is a distributed messaging middleware and scalable messaging library designed for moving data between machines and processes. It functions as a socket-based communication framework that routes data across different network transport layers. The library implements scalable messaging patterns, specifically request-reply and publish-subscribe, to handle high volumes of data across distributed systems. It provides tools for network performance benchmarking to quantify messaging throughput and latency. The framework supports distributed message routing and inter-process communication usin

    C
    Voir sur GitHub↗6,277
  • awslabs/s2nAvatar de awslabs

    awslabs/s2n

    4,736Voir sur GitHub↗

    s2n is a C-based security library and TLS protocol implementation that serves as a secure network transport layer. It provides a modular cryptographic backend interface to encrypt data streams, manage handshakes, and handle mutual authentication between peers. The project focuses on post-quantum cryptography, integrating quantum-resistant key exchange and digital signatures to protect connections against future computing threats. It distinguishes itself through security hardening measures, such as memory-locked secret storage to prevent keys from being swapped to disk and timing-attack mitiga

    C
    Voir sur GitHub↗4,736
  • silentbicycle/socket99Avatar de silentbicycle

    silentbicycle/socket99

    145Voir sur GitHub↗

    Wrapper library for the BSD sockets API with a nicer C99 interface

    C
    Voir sur GitHub↗145
Voir les 30 alternatives à Gumbo Parser→

Questions fréquentes

Que fait google/gumbo-parser ?

Gumbo-parser est une bibliothèque de parsing HTML5 haute performance écrite en C99 pur. Elle transforme le balisage brut en une arborescence de document structurée en implémentant les règles formelles de tokenisation par machine à états et de récupération d'erreurs définies dans la spécification HTML5.

Quelles sont les fonctionnalités principales de google/gumbo-parser ?

Les fonctionnalités principales de google/gumbo-parser sont : HTML5 Parsers, Token Offset Mapping, Source Text Mapping, AST-to-Source Mappings, DOM-to-Source Mappings, C99 HTML Parsing, Markup State Machines, Spec-Driven Recovery.

Quelles sont les alternatives open-source à google/gumbo-parser ?

Les alternatives open-source à google/gumbo-parser incluent : anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… silentbicycle/socket99 — Wrapper library for the BSD sockets API with a nicer C99 interface. awslabs/s2n — s2n is a C-based security library and TLS protocol implementation that serves as a secure network transport layer. It… sinemetu1/twitc. nanomsg/nanomsg — nanomsg is a distributed messaging middleware and scalable messaging library designed for moving data between machines… lunet-io/markdig — Markdig is a high-performance Markdown processor for .NET applications that converts Markdown text into HTML or other…