Commit Graph

102 Commits

Author SHA1 Message Date
Johann Schopplich
6f3df73077 docs: add dedicated playground section (fixes #80 & #32) 2025-11-13 17:07:37 +01:00
Johann Schopplich
a7eebaa9b3 docs: fix YAML example formatting in README 2025-11-13 14:54:25 +01:00
woutervancgi
dc983b42ab docs: add YAML comparison example to README (#122)
Added YAML example as well as it's more fair to compare to YAML than to JSON.

Note then when objects or arrays contain more nesting TOON might actually become less efficient than YAML.
2025-11-13 14:52:45 +01:00
Johann Schopplich
c73b9753dc docs: dedicated when not to use TOON section 2025-11-11 18:10:40 +01:00
Johann Schopplich
56298d6739 docs: add performance considerations (closes #110) 2025-11-11 17:48:38 +01:00
Johann Schopplich
e8ae024e54 feat!: remove optional length marker option [#N] in favor of [N] 2025-11-10 17:28:49 +01:00
Johann Schopplich
661dcbe5f8 docs: clarify spec v1.5 changes 2025-11-10 13:21:25 +01:00
vexpera-br
5873c5828f docs: add Kotlin implementation to README (#101)
Related to [this discussion](https://github.com/toon-format/toon/discussions/100)

Hi Johann,

I've added a small note in the README linking to a spec-compliant Kotlin implementation of TOON.
Let me know if this fits the direction of the project — happy to adjust or remove.

Thanks for the great spec!
2025-11-10 10:52:57 +01:00
Johann Schopplich
eefb0242e2 feat: opt-in key folding and path expansion (closes #86) 2025-11-10 09:56:09 +01:00
Johann Schopplich
67169f6f9f docs: switch benchmark order 2025-11-09 11:38:14 +01:00
Johann Schopplich
7b39feece7 docs: credit SZKX for logo design 2025-11-09 11:33:30 +01:00
Vitthal Mirji
67a0d4f495 docs: add Scala project link to README (#97)
Adding Scala project link to README
2025-11-09 11:30:50 +01:00
Johann Schopplich
b4655b01af chore(benchmarks): fix CSV question count in accuracy reports 2025-11-07 21:31:15 +01:00
Johann Schopplich
acca69c64a chore(benchmarks): replace LLM-as-judge, new structural validation 2025-11-07 21:28:21 +01:00
Marek Madejski
9a519dd114 docs: remove deprecated python-toon in favor of official implementation (#93)
Removed deprecated Python implementation `python-toon`. The official one,  `toon_format`, remains.
2025-11-07 15:27:48 +01:00
laresbernardo
e49636bb87 docs: add R language implementation (#92) 2025-11-07 14:00:29 +01:00
Johann Schopplich
c6ba6446f5 chore(benchmarks): finalize structure-awareness run 2025-11-07 10:33:46 +01:00
Johann Schopplich
54433de930 chore: split token efficiency benchmark into mixed/flat tracks 2025-11-06 22:17:18 +01:00
Johann Schopplich
bc711ccecf test(benchmark): overhaul generation 2025-11-06 14:45:44 +01:00
Johann Schopplich
840626dc90 feat: minor fixes for spec v1.4 compliance 2025-11-05 19:04:00 +01:00
Pragyan Tripathi
1b87cfe58b docs: add Clojure implementation to community implementations (#82) 2025-11-05 09:27:57 +01:00
Johann Schopplich
af17efe128 docs: add accuracy per 1k tokens report (closes #72) 2025-11-05 08:21:57 +01:00
Johann Schopplich
a47005a155 docs: add ctoon implementation (closes #58, #79) 2025-11-04 19:18:57 +01:00
Johann Schopplich
49ba7c4fb6 docs: add official Rust implementation link in README 2025-11-04 19:18:15 +01:00
Johann Schopplich
3472081b40 docs: clarify CSV vs TOON use cases 2025-11-04 18:12:19 +01:00
Thales Gelinger
8f0156c1af docs: add Neovim/Lua implementation (#73) 2025-11-03 18:42:05 +01:00
Marek Madejski
2c872e3cc4 docs: hint at official Python implementation (#69)
* Remove obsolete Python link in README

Removed pytoon, as it has been archived and the development stopped

* docs: add community implementation note

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-03 17:41:31 +01:00
Johann Schopplich
a3b1a01a8b feat(cli): support stdin for input handling (fixes #71) 2025-11-03 11:39:10 +01:00
Johann Schopplich
cfc3dadb21 docs: update gray color 2025-11-03 08:03:47 +01:00
Johann Schopplich
8977c8c7d6 feat: use language-agnostic test suite 2025-11-02 18:31:06 +01:00
David Sancho
7bb5dfb10c docs: add OCaml implementation (#57) 2025-11-01 22:15:32 +01:00
Johann Schopplich
0710bd19e7 feat!: publish to @toon-format/toon and @toon-format/cli 2025-11-01 16:53:41 +01:00
Johann Schopplich
8bcbdb7315 docs: enhance explanation for TOON format benefits (related to #49) 2025-11-01 07:53:48 +01:00
SangheeSon
2b882870f7 feat(cli): add --stats flag to show token savings (#51)
* feat(cli): add --stats flag to show token efficiency

- Add --stats boolean flag to display token count comparison
- Calculate approximate tokens using char length / 4 heuristic
- Show JSON vs TOON token counts with savings percentage
- Opt-in feature, default behavior unchanged

* feat: use tokenx for more accurate estimates

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-01 00:35:54 +01:00
Anton Maminov
af068f995d docs: add Crystal implementation (#48) 2025-11-01 00:26:43 +01:00
Morteza Hosseini
baf450b46c docs: update README with badges for CI, npm version, spec, downloads, and license (#52) 2025-10-31 19:48:54 +01:00
Johann Schopplich
5a2040ae81 docs(spec): release v1.3 2025-10-31 13:52:18 +01:00
Johann Schopplich
fe8f0615df docs: merge installation and quick start 2025-10-31 09:27:31 +01:00
Johann Schopplich
13351a365a docs: add rtoon as Rust implementation (closes #41) 2025-10-31 09:10:22 +01:00
Johann Schopplich
a3bf1965c6 docs: add implementation note 2025-10-31 09:04:19 +01:00
Johann Schopplich
753ee2cefd docs: add table of contents 2025-10-31 08:56:42 +01:00
Johann Schopplich
b2eeaea9d0 docs: add Gleam port (fixes #44) 2025-10-30 21:58:14 +01:00
Johann Schopplich
3a48cd4c7c docs: add Dart port (fixes #42) 2025-10-30 21:57:03 +01:00
Johann Schopplich
66212285e5 refactor(cli): re-use source constants 2025-10-30 21:33:08 +01:00
Johann Schopplich
fb43bdf527 docs: adjust padding for benchmark comparison 2025-10-30 15:19:16 +01:00
Johann Schopplich
2c4f3c4362 test: add benchmarks for compact vs. pretty JSON 2025-10-30 15:02:51 +01:00
Johann Schopplich
df68417d8b docs: remove redundant canonical formatting rules section 2025-10-30 12:45:16 +01:00
Johann Schopplich
752118d1b5 docs: update Python library links 2025-10-30 09:18:01 +01:00
Johann Schopplich
79cebbdf15 docs: update decode example 2025-10-30 09:15:37 +01:00
Andreas Partsch
80acc9d4fe feat: add cli (#34)
* feat: add cli for toon

* docs: use npx in the readme

* feat: overhaul and refactor

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-10-30 08:08:08 +01:00