A D library for reading and writing SDLang (Simple Declarative Language), a concise, type-aware data format.
SDLang-D is a library for the D programming language that implements support for SDLang (Simple Declarative Language). It allows D applications to read, write, and manipulate data in the SDL format, which is a concise, type-aware alternative to JSON, XML, and YAML. The library provides both a DOM for easy data access and a pull parser for efficient streaming.
D developers who need to work with configuration files, data serialization, or any structured data interchange in a human-readable format. It's particularly useful for those seeking a less verbose, type-aware alternative to JSON or YAML.
It offers a fully native D API designed from the ground up for the language, with support for SDL's unique features like type-aware literals and namespace prefixes. The dual parsing strategies (DOM and pull parser) provide flexibility for different use cases, from simple configuration to large document processing.
An SDLang (Simple Declarative Language) library for D
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers both a DOM for easy manipulation and a pull parser for low-memory streaming, providing flexibility for different use cases like configuration files or large documents.
Features a completely redesigned API leveraging D's language features, ensuring seamless integration and performance for D developers, as noted in the philosophy section.
Supports SDL's built-in types like dates and times natively, reducing manual parsing overhead and improving accuracy in serialization, demonstrated in the example code.
Includes a Language Guide, tutorials, API references, and FAQs, making it easier to learn and troubleshoot, with detailed explanations of syntax and usage.
SDLang is less widely used than JSON or YAML, limiting community support, interoperability, and available resources for developers outside specialized use cases.
Unconventional rules like requiring opening curly braces on the same line can cause confusion and errors for developers accustomed to C-style or other format conventions.
As a library specific to D and SDLang, it lacks the extensive tooling, libraries, and integrations found with more popular data serialization formats, potentially increasing development overhead.