Commit Graph

226 Commits

Author SHA1 Message Date
Johann Schopplich
6c57a14009 feat: streaming decode functionality with event-based parsing (closes #131) 2025-11-21 22:29:57 +01:00
Johann Schopplich
9ebad53ea3 feat(cli): stream output for both encoding and decoding 2025-11-21 16:52:34 +01:00
Johann Schopplich
cfbbb09358 chore: release v1.2.0 2025-11-21 14:03:40 +01:00
Johann Schopplich
1c003c6118 feat(cli): memory-efficient streaming for encoding 2025-11-21 14:02:22 +01:00
Johann Schopplich
be8bcfe9b2 chore: release v1.1.0 2025-11-21 09:36:25 +01:00
Omzee
342327290d docs: add tree-sitter grammar and comprehensive editor support (#200)
* docs: add tree-sitter grammar and editor support documentation

- Add comprehensive Editor Support section to README.md
- Document tree-sitter-toon grammar with usage examples
- Include VS Code extension information
- Add Neovim configuration example for tree-sitter
- Update tools-and-playgrounds.md with detailed editor support
- Add Editor Support to table of contents

Resolves #143
Resolves #99

* docs: simplify

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-21 09:22:11 +01:00
Satoshi Azuma a.k.a. ytnobody
cf87cfafff docs: add Perl project link to README (#192)
* Add Perl project link to README

* docs: add to implementations

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-21 09:04:30 +01:00
Johann Schopplich
36ddd2e0ea fix: encode mixed-format arrays at root level (fixes #202) 2025-11-21 09:01:26 +01:00
Johann Schopplich
2e992aed74 feat: encodeLines for streaming encoding to TOON 2025-11-20 18:37:46 +01:00
David Pinchen
660ed21e01 docs: add ApexToon implementation (#197)
* Add ApexToon implementation link to README

* Add Apex implementation to implementations documentation
2025-11-20 07:35:00 +01:00
Johann Schopplich
796b333e75 docs: fix benchmark dataset spacing (closes #196) 2025-11-19 22:06:23 +01:00
Johann Schopplich
9968cd2521 chore: fix linting errors 2025-11-19 09:04:00 +01:00
Okinea Dev
59a7a00ebb docs: add documentation for LLMs (llms.txt) (#189)
Thanks to https://github.com/okineadev/vitepress-plugin-llms
2025-11-19 04:44:57 +01:00
Johann Schopplich
c91259a05e docs: improve intro sentence 2025-11-19 04:42:35 +01:00
Johann Schopplich
4c32fda628 docs: improve intro sentence 2025-11-18 22:50:54 +01:00
Johann Schopplich
3d2788df53 docs: update favicon 2025-11-18 18:44:40 +01:00
Majid Mohammadian
d339d75f53 docs: add Laravel TOON package (#183)
* added Laravel toon package in readme.md

* docs: add Laravel Framework implementation to community section

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-18 14:03:15 +01:00
Johann Schopplich
0ac629a085 docs(website): highlight benchmarks 2025-11-18 10:14:07 +01:00
Johann Schopplich
9bebbb4070 docs(website): use favicon as header icon 2025-11-18 09:01:58 +01:00
Johann Schopplich
4b4f7c05f9 docs: add dedicated docs website 2025-11-18 07:23:10 +01:00
Johann Schopplich
3e08f3b72b docs: overhaul TOON example 2025-11-16 19:30:06 +01:00
Johann Schopplich
4b9e420506 docs: overhaul TOON example 2025-11-16 19:26:50 +01:00
Johann Schopplich
bc9147c4c9 docs: overhaul TOON example 2025-11-16 19:12:55 +01:00
Johann Schopplich
ccec8a9cc2 docs: overhaul TOON example 2025-11-16 19:06:59 +01:00
Johann Schopplich
56ca5106c9 docs: overhaul TOON example 2025-11-16 19:03:05 +01:00
Johann Schopplich
bfdfbd87c6 docs: overhaul example 2025-11-16 19:00:18 +01:00
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