Zum Inhalt springen

Just released YINI v1.0.0 Beta 6 — A lightweight config format gets even clearer

Hey everyone! 👋

A quick update on YINI — a minimal, human-readable configuration format inspired by INI, JSON, and Python — designed to be easy to read, clean to write, and consistent to parse.

What’s new in Beta 6?

  • # is now strictly a comment only when followed by a space/tab — so #FF0033 (hex color) still works ✅
  • Section headers now use Markdown-style nesting via ^, ^^, ^^^ instead of symbols like [section.sub] — super clean and very readable.
  • Support for multiple comment styles: //, #, ;, --, and even /* block comments */
  • Fully supports quoted string types (raw, classic, hyper, triple-quoted)
  • Numbers in binary, octal, decimal, hex, and dozenal (base-12) — all with validation
  • Formal grammar in ANTLR4 for building parsers in your favorite language

🧪 Try it out:

# A YINI config format document ^ server ^^ connection host = 'localhost' port = 8080 // Dev port ^^ auth enabled = true ^^^ credentials username = 'admin' password = 'secret' // Change me! ; This config stays pretty clean and easy to read. 

👉 If you’re into config formats, human-first syntax, or building tools around structured files — your feedback would be awesome.

🔗 Spec, examples, and grammar here: https://github.com/YINI-lang/YINI-spec

Thanks for reading, cheers!
– M. Seppänen

submitted by /u/Effective_Tune_6830
[link] [comments]

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert