newsdlang 0.3.0

An SDLang/XDL parser for D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

newsdlang

SDLang/XDL reader and writer

See SDLang specifications here: https://github.com/dlang-community/SDLang-D/wiki/Language-Guide

See XDL specifications in file XDLspecs.md

Current status

  • Lot of its features are untested at the moment, unittests and other testcases are being written at the moment.
  • SDL-style datetime parsing have not been implemented yet.
  • Previously advertised KDL compatibility plans dropped.
  • DOM and its related API will likely stay the same, but with more features added and things refined.
  • XDL specifications are not 100% finalized, and some features might get added/modified.
  • It has a mostly working DOM reader and writer in newsdlang.dom, and a more manual streaming parser in newsdlang.parser if someone wants to directly convert *DL files to data without the DOM overhead.

Known issues

Severe

  • Floating-point number parsing is unstable, with some very long floats causing issues stemming from limited precision, especially of the 64 bit integers being used during the parsing process. Some mitigations have been done, but more needs to be done in the future.

Low priority

  • Comments put in front of a tag are positioned incorrectly.
Authors:
  • laszl
Sub packages:
newsdlang:test
Dependencies:
none
Versions:
0.3.0 2025-Oct-10
0.2.3 2025-Oct-04
0.2.2 2025-Sep-21
0.2.1 2025-Sep-20
0.2.0 2025-Sep-18
Show all 12 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 6 downloads this month

  • 14 downloads total

Score:
0.6
Short URL:
newsdlang.dub.pm