{"id":18920078,"url":"https://github.com/gongo/emacs-toml","last_synced_at":"2026-03-02T15:01:45.984Z","repository":{"id":10289030,"uuid":"12407385","full_name":"gongo/emacs-toml","owner":"gongo","description":"TOML (Tom's Obvious, Minimal Language) parser and generator","archived":false,"fork":false,"pushed_at":"2026-03-01T01:50:18.000Z","size":109,"stargazers_count":25,"open_issues_count":9,"forks_count":16,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-01T05:43:06.717Z","etag":null,"topics":["toml"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gongo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-08-27T13:53:04.000Z","updated_at":"2026-03-01T01:50:22.000Z","dependencies_parsed_at":"2024-11-08T10:45:40.146Z","dependency_job_id":"c3406606-ee07-4e2d-b3fc-96d9920050b5","html_url":"https://github.com/gongo/emacs-toml","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gongo/emacs-toml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Femacs-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Femacs-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Femacs-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Femacs-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gongo","download_url":"https://codeload.github.com/gongo/emacs-toml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Femacs-toml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30007047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T14:08:50.421Z","status":"ssl_error","status_checked_at":"2026-03-02T14:08:50.037Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["toml"],"created_at":"2024-11-08T10:42:21.342Z","updated_at":"2026-03-02T15:01:45.972Z","avatar_url":"https://github.com/gongo.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"emacs-toml\n==========\n\n[![Main workflow](https://github.com/gongo/emacs-toml/workflows/Main%20workflow/badge.svg)](https://github.com/gongo/emacs-toml/actions?query=workflow%3A%22Main+workflow%22)\n\n`toml.el` is a library for parsing TOML (Tom's Obvious, Minimal Language).\n\n* Learn all about TOML here: https://github.com/mojombo/toml\n* Support version: [v0.2.0](https://github.com/toml-lang/toml/blob/main/CHANGELOG.md#020--2013-09-24)\n\n## Example\n\nParse the [example.toml](https://github.com/mojombo/toml/blob/master/tests/example.toml) as an example.\n\n```lisp\n(toml:read-from-string \"\\\nkey1 = \\\"foo\\\"\nkey2 = \\\"bar\\\"\nkey3 = \\\"333\\\"\")\n\n;; =\u003e '((\"key3\" . \"333\") (\"key2\" . \"bar\") (\"key1\" . \"foo\"))\n```\n\n```lisp\n(toml:read-from-file \"example.toml\")\n\n;; or\n\n(toml:read-from-string \"\\\n# This is a TOML document. Boom.\n\ntitle = \\\"TOML Example\\\"\n\n\\[owner\\]\nname = \\\"Tom Preston-Werner\\\"\norganization = \\\"GitHub\\\"\nbio = \\\"GitHub Cofounder \u0026 CEO\\\\nLikes tater tots and beer.\\\"\ndob = 1979-05-27T07:32:00Z # First class dates? Why not?\n\n\\[database\\]\nserver = \\\"192.168.1.1\\\"\nports = \\[ 8001, 8001, 8002 \\]\nconnection_max = 5000\nenabled = true\n\n\\[servers\\]\n\n  # You can indent as you please. Tabs or spaces. TOML don't care.\n  \\[servers.alpha\\]\n  ip = \\\"10.0.0.1\\\"\n  dc = \\\"eqdc10\\\"\n\n  \\[servers.beta\\]\n  ip = \\\"10.0.0.2\\\"\n  dc = \\\"eqdc10\\\"\n\n\\[clients\\]\ndata = \\[ \\[\\\"gamma\\\", \\\"delta\\\"\\], \\[1, 2\\] \\]\n\n# Line breaks are OK when inside arrays\nhosts = \\[\n  \\\"alpha\\\",\n  \\\"omega\\\"\n\\]\")\n\n;; =\u003e  '(\n;;       (\"clients\"\n;;        (\"hosts\" . [\"alpha\" \"omega\"])\n;;        (\"data\" . [[\"gamma\" \"delta\"] [1 2]]))\n;;       (\"servers\"\n;;        (\"beta\" (\"dc\" . \"eqdc10\") (\"ip\" . \"10.0.0.2\"))\n;;        (\"alpha\" (\"dc\" . \"eqdc10\") (\"ip\" . \"10.0.0.1\")))\n;;       (\"database\"\n;;        (\"enabled\" . t)\n;;        (\"connection_max\" . 5000)\n;;        (\"ports\" . [8001 8001 8002])\n;;        (\"server\" . \"192.168.1.1\"))\n;;       (\"owner\"\n;;        (\"dob\"\n;;         (year . 1979)\n;;         (month . 5)\n;;         (day . 27)\n;;         (hour . 7)\n;;         (minute . 32)\n;;         (second . 0)\n;;         (fraction)\n;;         (timezone . \"Z\"))\n;;        (\"bio\" . \"GitHub Cofounder \u0026 CEO\\\\nLikes tater tots and beer.\")\n;;        (\"organization\" . \"GitHub\")\n;;        (\"name\" . \"Tom Preston-Werner\"))\n;;       (\"title\" . \"TOML Example\"))\n```\n\n## Spec\n\nIn `emacs-toml`, \"key groups\" and \"key\" key pattern are as follows:\n\n* `key` = `[a-zA-Z][a-zA-Z0-9_]*`\n* `keygroup` = `[a-zA-Z][a-zA-Z0-9_\\\\.]*`\n    * The end doesn't end in the period.\n\n## Test\n\n### Unit Tests\n\nRun the unit tests with:\n\n```bash\nmake test\n```\n\n### Official Test Suite\n\nThis project also includes tests using the official [toml-lang/toml-test](https://github.com/toml-lang/toml-test) suite as a git submodule.\n\n**Note:** Since `emacs-toml` currently supports TOML v0.1.0, some tests from the official suite (which targets TOML v1.1.0) will fail. This is expected.\n\nTo run the official test suite:\n\n```bash\n# Initialize the submodule (first time only)\ngit submodule update --init\n\n# Run tests\nmake test-official\n```\n\n## License\n\nMIT License. see `toml.el`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Femacs-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgongo%2Femacs-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Femacs-toml/lists"}