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
·
mpaland avatar

mpaland/printf

0
View on GitHub↗
2,952 stars·547 forks·C·mit·2 vues

Printf

This project is a lightweight C string formatting library and low-level text formatter designed for embedded systems and bare-metal hardware environments. It provides a minimal formatting engine for converting numeric types and variables into formatted text using standard specifier notation in environments that lack a full C runtime or standard library.

The library features a custom stream output utility that routes formatted text strings to user-defined callback functions. This allows for flexible output destinations and character-level writing, enabling formatted debug messages and logging on hardware without a standard system console.

The formatting capabilities cover template string generation and variable-to-text conversion, including support for integers, floating-point values, and exponential notation. It maps sequential arguments to format placeholders within a template string to produce a final text representation.

Features

  • Template Formatting Engines - Provides a minimal formatting engine that uses template strings and specifiers to produce formatted text.
  • Callback-Driven Output Rendering - Sends formatted output to a specific callback function to support flexible output destinations.
  • Callback-Based Routing - Provides a custom stream utility to route formatted text to user-defined callback functions.
  • Stream Output Management - Provides a system for directing formatted text streams to specific callback destinations.
  • String Formatting Utilities - Converts numbers and variables into formatted strings using specifiers for integers and floating point.
  • Template String Interpolation - Parses strings with placeholders and replaces them with numeric or string arguments.
  • Bare Metal Logging - Enables the creation of formatted debug messages and logs for bare-metal embedded devices.
  • Embedded Print Engines - Ships a minimal formatting engine designed for hardware environments without a standard output or runtime.
  • Embedded Text Formatting - Formats variables and numbers into strings specifically for hardware environments without a standard C library.
  • Low-Level Text Formatters - Provides low-level conversion of numeric types and variables into formatted text using specifier notation.
  • C String Formatting Libraries - Implements a lightweight C library for formatted string printing and variable conversion.
  • Format Specifier Mappings - Implements the core logic for mapping input arguments to format placeholders in template strings.
  • Base Conversion Utilities - Transforms integers and numeric values between different bases using predefined specifier rules.
  • Callback Stream Routing - Directs formatted text output to user-defined callback functions instead of the standard system console.
  • Character-Level Writing - Enables character-level writing through low-level functions for use in resource-constrained environments.
  • Formatted String Output - Provides low-level routines for converting raw data and numeric types into human-readable text.
  • Formatting and Logging - Tiny, fast, and dependency-free printf implementation.

Historique des stars

Graphique de l'historique des stars pour mpaland/printfGraphique de l'historique des stars pour mpaland/printf

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

Questions fréquentes

Que fait mpaland/printf ?

This project is a lightweight C string formatting library and low-level text formatter designed for embedded systems and bare-metal hardware environments. It provides a minimal formatting engine for converting numeric types and variables into formatted text using standard specifier notation in environments that lack a full C runtime or standard library.

Quelles sont les fonctionnalités principales de mpaland/printf ?

Les fonctionnalités principales de mpaland/printf sont : Template Formatting Engines, Callback-Driven Output Rendering, Callback-Based Routing, Stream Output Management, String Formatting Utilities, Template String Interpolation, Bare Metal Logging, Embedded Print Engines.

Quelles sont les alternatives open-source à mpaland/printf ?

Les alternatives open-source à mpaland/printf incluent : fmtlib/fmt — fmt is a type-safe C++ text formatting library used to convert data into formatted strings and text. It serves as a… cppformat/cppformat — cppformat is a type-safe C++ formatting library that serves as a high-performance alternative to standard C++ input… iuricode/padroes-de-commits — This project is a Git commit standardization tool and semantic commit generator. It serves as an assistant to align… airbnb/polyglot.js — Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system… angular-translate/angular-translate — AngularJS Internationalization Library is a localization framework for AngularJS 1.x applications. It functions as an… mikemcl/bignumber.js — bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and…

Alternatives open source à Printf

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Printf.
  • fmtlib/fmtAvatar de fmtlib

    fmtlib/fmt

    23,596Voir sur GitHub↗

    fmt is a type-safe C++ text formatting library used to convert data into formatted strings and text. It serves as a high-performance string buffer utility and provided the basis for the formatting features introduced in the C++20 standard. The library shifts format string validation and size computation to the compilation phase to prevent runtime crashes and increase execution speed. It utilizes a memory-efficient interface to write formatted data directly into buffers, minimizing allocations and eliminating intermediate string overhead. The project covers a broad range of text processing ca

    C++
    Voir sur GitHub↗23,596
  • cppformat/cppformatAvatar de cppformat

    cppformat/cppformat

    23,626Voir sur GitHub↗

    cppformat is a type-safe C++ formatting library that serves as a high-performance alternative to standard C++ input and output streams for converting data into formatted strings. It integrates a compile-time format validator to ensure format specifiers match argument types, preventing runtime crashes. The library includes a positional argument engine that enables the reordering of text arguments for internationalization and localization. It also features a Unicode text formatter to ensure consistent and portable character representation across different operating systems. The project provide

    C++
    Voir sur GitHub↗23,626
  • angular-translate/angular-translateAvatar de angular-translate

    angular-translate/angular-translate

    4,281Voir sur GitHub↗

    AngularJS Internationalization Library is a localization framework for AngularJS 1.x applications. It functions as an i18n translation tool used to swap static user interface text with localized versions based on a selected locale. The framework manages multi-language content through asynchronous loading of translation files to minimize bundle size. It includes systems for handling pluralization rules and interpolating dynamic variables into translation strings. The project also provides capabilities for language switching and fallback-chain resolution to ensure a readable string is displaye

    JavaScriptangularjsboweri18n
    Voir sur GitHub↗4,281
  • airbnb/polyglot.jsAvatar de airbnb

    airbnb/polyglot.js

    3,723Voir sur GitHub↗

    Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system for mapping unique keys to localized strings, allowing applications to translate text into multiple languages. The library includes a pluralization and interpolation engine that handles complex grammatical plural forms based on numeric counts and inserts dynamic variables into translated strings. It supports nested namespaces to organize phrase mappings into logical categories. These utilities cover phrase translation, locale-driven configuration, and the management of multi-l

    JavaScript
    Voir sur GitHub↗3,723
  • Voir les 30 alternatives à Printf→