{"id":19771949,"url":"https://github.com/vezel-dev/ton","last_synced_at":"2025-04-30T17:33:00.986Z","repository":{"id":220067868,"uuid":"740702347","full_name":"vezel-dev/ton","owner":"vezel-dev","description":"A human-friendly language for programmatic authoring and safe interchange of tree-structured data.","archived":true,"fork":false,"pushed_at":"2025-03-20T18:01:37.000Z","size":825,"stargazers_count":5,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T02:21:41.218Z","etag":null,"topics":["csharp","dotnet","interpreter","jit","language","runtime","ton","xml"],"latest_commit_sha":null,"homepage":"https://docs.vezel.dev/ton","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vezel-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-0BSD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"vezel-dev","open_collective":"vezel"}},"created_at":"2024-01-08T22:16:31.000Z","updated_at":"2025-03-21T02:05:03.000Z","dependencies_parsed_at":"2024-11-06T00:39:02.268Z","dependency_job_id":null,"html_url":"https://github.com/vezel-dev/ton","commit_stats":{"total_commits":314,"total_committers":2,"mean_commits":157.0,"dds":"0.21656050955414008","last_synced_commit":"79b77de626a705d2d3bd1df57507479e070f7508"},"previous_names":["vezel-dev/ton"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vezel-dev","download_url":"https://codeload.github.com/vezel-dev/ton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251389352,"owners_count":21581780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","interpreter","jit","language","runtime","ton","xml"],"created_at":"2024-11-12T05:04:50.929Z","updated_at":"2025-04-30T17:33:00.973Z","avatar_url":"https://github.com/vezel-dev.png","language":"C#","funding_links":["https://github.com/sponsors/vezel-dev","https://opencollective.com/vezel"],"categories":[],"sub_categories":[],"readme":"# TON\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"ton.svg\"\n         width=\"128\"\n         alt=\"TON\" /\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e\n        A human-friendly language for programmatic authoring and safe\n        interchange of tree-structured data.\n    \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![License](https://img.shields.io/github/license/vezel-dev/ton?color=brown)](LICENSE-0BSD)\n[![Commits](https://img.shields.io/github/commit-activity/m/vezel-dev/ton/master?label=commits\u0026color=slateblue)](https://github.com/vezel-dev/ton/commits/master)\n[![Build](https://img.shields.io/github/actions/workflow/status/vezel-dev/ton/build.yml?branch=master)](https://github.com/vezel-dev/ton/actions/workflows/build.yml)\n[![Discussions](https://img.shields.io/github/discussions/vezel-dev/ton?color=teal)](https://github.com/vezel-dev/ton/discussions)\n[![Discord](https://img.shields.io/badge/discord-chat-7289da?logo=discord)](https://discord.gg/wtzCfaX2Nj)\n[![Zulip](https://img.shields.io/badge/zulip-chat-394069?logo=zulip)](https://vezel.zulipchat.com)\n\n\u003c/div\u003e\n\n--------------------------------------------------------------------------------\n\n\u003e [!WARNING]\n\u003e This is currently in-development vaporware.\n\n**TON** (Tree Object Notation) is a modern data language featuring two dialects:\nOne for programmatic generation of data, and a static subset for safe data\ninterchange.\n\n**TON** is designed to be a pleasant and compact replacement for both\n[XML](https://www.w3.org/TR/xml) and [JSON](https://www.json.org), combining the\nbest qualities of each, while allowing advanced users to programmatically\ngenerate large data sets using the full language dialect. At its simplest,\n**TON** can be used as a static data format just like XML or JSON, while at its\nfull potential, it can be used to maintain large and complex textual databases\nat a level of maintainability that such data formats simply cannot achieve.\n\nThe original motivation for the creation of **TON** was the maintenance of the\nsorts of large data sheets that video games often use to describe things like\nareas, items, quests, characters, skills, etc. The code dialect should be\nwell-suited to any similar use case. On the other hand, the data dialect can\nis well-suited as a safe and more compact replacement for XML and JSON, e.g. in\nnetworked APIs.\n\n**TON** is an open standard. This project provides both the specification and\nthe reference implementation in C#.\n\n## Usage\n\nThis project offers the following packages:\n\n| Package | Description | Downloads |\n| -: | - | :- |\n| [![ton][driver-img]][driver-pkg] | Provides the .NET global tool. | ![Downloads][ton-dls] |\n| [![Vezel.Ton][core-img]][core-pkg] | Provides the core parsing, analysis, and runtime services. | ![Downloads][core-dls] |\n| [![Vezel.Ton.Tooling][tooling-img]][tooling-pkg] | Provides user-facing tooling such as syntax coloring and diagnostic rendering. | ![Downloads][tooling-dls] |\n| [![Vezel.Ton.Service][service-img]][service-pkg] | Provides the Language Server Protocol implementation. | ![Downloads][service-dls] |\n\n[driver-pkg]: https://www.nuget.org/packages/ton\n[core-pkg]: https://www.nuget.org/packages/Vezel.Ton\n[tooling-pkg]: https://www.nuget.org/packages/Vezel.Ton.Tooling\n[service-pkg]: https://www.nuget.org/packages/Vezel.Ton.Service\n\n[driver-img]: https://img.shields.io/nuget/v/ton?label=ton\n[core-img]: https://img.shields.io/nuget/v/Vezel.Ton?label=Vezel.Ton\n[tooling-img]: https://img.shields.io/nuget/v/Vezel.Ton.Tooling?label=Vezel.Ton.Tooling\n[service-img]: https://img.shields.io/nuget/v/Vezel.Ton.Service?label=Vezel.Ton.Service\n\n[driver-dls]: https://img.shields.io/nuget/dt/ton?label=\n[core-dls]: https://img.shields.io/nuget/dt/Vezel.Ton?label=\n[tooling-dls]: https://img.shields.io/nuget/dt/Vezel.Ton.Tooling?label=\n[service-dls]: https://img.shields.io/nuget/dt/Vezel.Ton.Service?label=\n\nTo install a tool package in a project, run `dotnet tool install \u003cname\u003e`. To\ninstall it globally, also pass `-g`.\n\nTo install a library package, run `dotnet add package \u003cname\u003e`.\n\nFor more information, please visit the\n[project home page](https://docs.vezel.dev/ton).\n\n## Building\n\nYou will need the .NET SDK and Node.js installed. Simply run `./cake`\n(a [Bash](https://www.gnu.org/software/bash) script) to build artifacts and run\ntests. You can also run `./cake pack` to avoid running tests, or `./cake test`\nto just build and run tests.\n\nThese commands will use the `Debug` configuration by default, which is suitable\nfor development and debugging. Pass `-c Release` instead to get an optimized\nbuild.\n\n## License\n\nThis project is licensed under the terms found in\n[`LICENSE-0BSD`](LICENSE-0BSD).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvezel-dev%2Fton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvezel-dev%2Fton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvezel-dev%2Fton/lists"}