Zig command-line-arguments-parser

Open-source Zig projects categorized as command-line-arguments-parser

Zig command-line-arguments-parser Projects

  • zig-clap

    Simple command line argument parsing library

  • Project mention: After a day of programming in Zig | dev.to | 2024-01-01

    Zig and Rust both promote explicit error handling, however their mechanisms are different. Rust uses Result enums, while Zig uses a (global) error set type (though similar to an enum) and error propagation. Similarly, Rust uses the Option enum for optional types, while Zig uses a type modifier (?T). Both offer modern, syntactic sugar to handle those (call()? and if let Some(value) = optional {} in Rust, try call() and if (optional) |value| {} in Zig). Since Rust uses the standard library to implement error handling and options, users have the possibility to extend those systems which is quite powerful. However, I like the approach Zig takes in providing those things as language features. While their approach fits well into the C universe, I dislike that there is no pragmatic way to add more context to an error (but well, no allocations). Libraries like [clap](https://github.com/Hejsil/zig-clap) solve this by implementing a diagnostics mechanism.

  • yazap

    🔧 The ultimate Zig library for seamless command line parsing. Effortlessly handles options, subcommands, and custom arguments with ease.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Zig command-line-arguments-parser related posts

  • After a day of programming in Zig

    3 projects | dev.to | 1 Jan 2024
  • Is it too early to use Zig for CLI tooling ideas?

    3 projects | /r/Zig | 5 Jun 2023
  • How to get type of active field of tagged union in v0.9.0?

    1 project | /r/Zig | 9 Jan 2023
  • yazap v0.3.0: now supports auto help text generation

    1 project | /r/Zig | 23 Sep 2022
  • Announcing yazap v0.2.0 release!

    1 project | /r/Zig | 1 Sep 2022
  • Announcing yazap (previously zig-arg) v0.1.0: A new command line argument parser library

    2 projects | /r/Zig | 28 Aug 2022
  • Docco for printing, getting input, cmdline args?

    1 project | /r/Zig | 17 Jan 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 5 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

Project Stars
1 zig-clap 755
2 yazap 98

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com