Commit Graph

200 Commits

Author SHA1 Message Date
Johann Schopplich
1a652d239d docs: update intro sentence 2025-11-16 08:49:01 +01:00
Johann Schopplich
c789ebe13c docs: merge notes and limitations section with when to not use TOON section 2025-11-15 22:14:18 +01:00
Johann Schopplich
9d260e46ed chore: update OG image 2025-11-15 07:52:12 +01:00
Johann Schopplich
1eb34e29f4 chore: update OG image 2025-11-14 18:48:18 +01:00
Johann Schopplich
32fb153211 docs: refine intro description 2025-11-14 18:26:46 +01:00
Johann Schopplich
9ee27361f6 chore: add npx quick start example to OG image 2025-11-14 17:08:13 +01:00
Johann Schopplich
fe82f74a15 docs: highlight official implementations 2025-11-14 17:07:48 +01:00
Johann Schopplich
7f8c2379fd docs: update playground section 2025-11-13 17:10:32 +01:00
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
cy
95ac0b0cbc ci(test): run tests on packages in ci (#111) 2025-11-13 07:12:12 +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
cy
f798bba095 test(cli): add tests for stdin input (#107)
* test(cli): add tests for stdin input

* test(cli): extract mock stdin to helper function

* test(cli): add comprehensive tests for stdin edge cases and output file handling

* refactor(test): streamline mockStdin function and relocate to utils

* test(cli): remove redundant test for JSON encoding from stdin

* test(cli): restore mocks consistently

* test(cli):  restructured output file tests and modified some assertions

* chore: fix linting issues & remove redundant cleanups

---------

Co-authored-by: mad-cat-lon <113548315+mad-cat-lon@users.noreply.github.com>
Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-11 17:35:52 +01:00
Johann Schopplich
0a4c89e496 refactor: move function internally 2025-11-11 17:24:18 +01:00
Johann Schopplich
2e7a27c3c0 chore: upgrade tsdown 2025-11-11 09:31:17 +01:00
Johann Schopplich
b2782b026f chore: release v1.0.0 2025-11-10 17:29:05 +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
1c74f09177 chore: fix linting error 2025-11-10 14:34:13 +01:00
Johann Schopplich
1837007048 perf: improve empty object checks 2025-11-10 14:30:54 +01:00
Johann Schopplich
661dcbe5f8 docs: clarify spec v1.5 changes 2025-11-10 13:21:25 +01:00
Johann Schopplich
ac17a8d260 refactor: misc. clean ups (removing unnecessary comments, improving variable names) 2025-11-10 13:19:33 +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
4f5000b2eb chore: release v0.9.0 2025-11-10 10:51:36 +01:00
Johann Schopplich
89b227302a fix(path-expanding): overwrite with new value 2025-11-10 10:51:12 +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
e1f5d1313d chore: update social card image 2025-11-09 22:26:01 +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
a6867e5641 chore: update social card image 2025-11-08 09:45:24 +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
89df613059 chore(benchmarks): add structure-awareness questions 2025-11-07 09:03:51 +01:00
Johann Schopplich
853c3babea chore: fix cli entry for testing 2025-11-06 22:20:07 +01:00
Johann Schopplich
54433de930 chore: split token efficiency benchmark into mixed/flat tracks 2025-11-06 22:17:18 +01:00
Johann Schopplich
e22884308b chore(benchmarks): fix undefined in GitHub question generation 2025-11-06 16:06:31 +01:00
Johann Schopplich
a9d52fc69b chore: more work on benchmarks 2025-11-06 15:51:31 +01:00
Johann Schopplich
bc711ccecf test(benchmark): overhaul generation 2025-11-06 14:45:44 +01:00
Johann Schopplich
9863875706 chore: release v0.8.0 2025-11-05 19:04:20 +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
9268fdf3ef docs: fix typo in OG image 2025-11-04 19:46:34 +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