awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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 Aufrufe

Gumbo Parser

Gumbo-parser ist eine leistungsstarke HTML5-Parsing-Bibliothek, die in reinem C99 geschrieben ist. Sie transformiert rohes Markup in einen strukturierten Dokumentbaum, indem sie die formalen Zustandsautomaten-Tokenisierungs- und Fehlerbehebungsregeln implementiert, die in der HTML5-Spezifikation definiert sind.

Das Projekt dient als HTML-Quell-Mapping-Tool, das geparste Knoten zurück auf ihre ursprünglichen Byte-Offsets und Zeiger innerhalb des Eingabepuffers verknüpft. Dies ermöglicht die präzise Nachverfolgung von Quellpositionen für Elemente innerhalb des resultierenden Parse-Baums.

Über die vollständige Dokumentverarbeitung hinaus handhabt die Bibliothek isolierte HTML-Fragmente und bietet eine C-basierte Foreign Function Interface, um Integration und Sprachbindungen für andere Umgebungen zu ermöglichen.

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.
  • Build-Systeme - A library for parsing HTML5 documents.
  • Netzwerk-Bibliotheken - HTML5 parsing library for C99.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.

Star-Verlauf

Star-Verlauf für google/gumbo-parserStar-Verlauf für google/gumbo-parser

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht google/gumbo-parser?

Gumbo-parser ist eine leistungsstarke HTML5-Parsing-Bibliothek, die in reinem C99 geschrieben ist. Sie transformiert rohes Markup in einen strukturierten Dokumentbaum, indem sie die formalen Zustandsautomaten-Tokenisierungs- und Fehlerbehebungsregeln implementiert, die in der HTML5-Spezifikation definiert sind.

Was sind die Hauptfunktionen von google/gumbo-parser?

Die Hauptfunktionen von google/gumbo-parser sind: 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.

Welche Open-Source-Alternativen gibt es zu google/gumbo-parser?

Open-Source-Alternativen zu google/gumbo-parser sind unter anderem: 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…

Open-Source-Alternativen zu Gumbo Parser

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Gumbo Parser.
  • anglesharp/anglesharpAvatar von AngleSharp

    AngleSharp/AngleSharp

    5,499Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,499
  • nanomsg/nanomsgAvatar von nanomsg

    nanomsg/nanomsg

    6,277Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗6,277
  • awslabs/s2nAvatar von awslabs

    awslabs/s2n

    4,736Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,736
  • silentbicycle/socket99Avatar von silentbicycle

    silentbicycle/socket99

    145Auf GitHub ansehen↗

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

    C
    Auf GitHub ansehen↗145
  • Alle 30 Alternativen zu Gumbo Parser anzeigen→