awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/gumbo-parserArchived

0
View on GitHub↗
5,190 stele·664 fork-uri·HTML·Apache-2.0·7 vizualizări

Gumbo Parser

Gumbo-parser este o bibliotecă de parsare HTML5 de înaltă performanță scrisă în C99 pur. Transformă markup-ul brut într-un arbore de document structurat prin implementarea regulilor formale de tokenizare a mașinii de stare și de recuperare a erorilor definite în specificația HTML5.

Proiectul servește ca instrument de mapare a sursei HTML, legând nodurile parsate înapoi la offset-urile și pointerii lor originali din buffer-ul de intrare. Acest lucru permite urmărirea precisă a locațiilor sursă pentru elementele din arborele de parsare rezultat.

Dincolo de procesarea completă a documentelor, biblioteca gestionează fragmente HTML izolate și oferă o interfață de funcții străine (FFI) bazată pe C pentru a permite integrarea și binding-urile de limbaj pentru alte medii.

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.
  • Sisteme de build - A library for parsing HTML5 documents.
  • Biblioteci de rețea - HTML5 parsing library for C99.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.

Istoric stele

Graficul istoricului de stele pentru google/gumbo-parserGraficul istoricului de stele pentru google/gumbo-parser

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face google/gumbo-parser?

Gumbo-parser este o bibliotecă de parsare HTML5 de înaltă performanță scrisă în C99 pur. Transformă markup-ul brut într-un arbore de document structurat prin implementarea regulilor formale de tokenizare a mașinii de stare și de recuperare a erorilor definite în specificația HTML5.

Care sunt principalele funcționalități ale google/gumbo-parser?

Principalele funcționalități ale google/gumbo-parser sunt: 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.

Care sunt câteva alternative open-source pentru google/gumbo-parser?

Alternativele open-source pentru google/gumbo-parser includ: 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…

Alternative open-source pentru Gumbo Parser

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Gumbo Parser.
  • anglesharp/anglesharpAvatar AngleSharp

    AngleSharp/AngleSharp

    5,499Vezi pe 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
    Vezi pe GitHub↗5,499
  • nanomsg/nanomsgAvatar nanomsg

    nanomsg/nanomsg

    6,277Vezi pe 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
    Vezi pe GitHub↗6,277
  • awslabs/s2nAvatar awslabs

    awslabs/s2n

    4,736Vezi pe 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
    Vezi pe GitHub↗4,736
  • silentbicycle/socket99Avatar silentbicycle

    silentbicycle/socket99

    145Vezi pe GitHub↗

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

    C
    Vezi pe GitHub↗145
  • Vezi toate cele 30 alternative pentru Gumbo Parser→