tree-sitter-test


Nametree-sitter-test JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryTS corpus test grammar for tree-sitter
upload_time2025-08-11 10:14:35
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords incremental parsing tree-sitter test
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tree-sitter-test

[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-test/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![npm][npm]](https://www.npmjs.com/package/@tree-sitter-grammars/tree-sitter-test)
[![crates][crates]](https://crates.io/crates/tree-sitter-test)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-test/)

A tree-sitter parser for corpus test files.

## References

- [Command: test](https://tree-sitter.github.io/tree-sitter/creating-parsers#command-test)
- [Constant `std::env::consts::OS`](https://doc.rust-lang.org/std/env/consts/constant.OS.html)

## Usage

This can be used as a standalone plugin in Neovim, without nvim-treesitter.<br>
Here's how you can install it using [lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
{
    "tree-sitter-grammars/tree-sitter-test",
    build = "mkdir parser && tree-sitter build -o parser/test.so",
    ft = "test",
    init = function()
        -- toggle full-width rules for test separators
        vim.g.tstest_fullwidth_rules = false
        -- set the highlight group of the rules
        vim.g.tstest_rule_hlgroup = "FoldColumn"
    end
}
```

[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-test/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/@tree-sitter-grammars/tree-sitter-test?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-test?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-test?logo=pypi&logoColor=ffd242

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tree-sitter-test",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "incremental, parsing, tree-sitter, test",
    "author": null,
    "author_email": "ObserverOfTime <chronobserver@disroot.org>",
    "download_url": "https://files.pythonhosted.org/packages/bd/6b/3cdfde55dabc9b4c5d301fa75511a061ead093dbe8ceb5e35b5c637783f0/tree_sitter_test-0.3.0.tar.gz",
    "platform": null,
    "description": "# tree-sitter-test\n\n[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-test/actions/workflows/ci.yml)\n[![discord][discord]](https://discord.gg/w7nTvsVJhm)\n[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)\n[![npm][npm]](https://www.npmjs.com/package/@tree-sitter-grammars/tree-sitter-test)\n[![crates][crates]](https://crates.io/crates/tree-sitter-test)\n[![pypi][pypi]](https://pypi.org/project/tree-sitter-test/)\n\nA tree-sitter parser for corpus test files.\n\n## References\n\n- [Command: test](https://tree-sitter.github.io/tree-sitter/creating-parsers#command-test)\n- [Constant `std::env::consts::OS`](https://doc.rust-lang.org/std/env/consts/constant.OS.html)\n\n## Usage\n\nThis can be used as a standalone plugin in Neovim, without nvim-treesitter.<br>\nHere's how you can install it using [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n    \"tree-sitter-grammars/tree-sitter-test\",\n    build = \"mkdir parser && tree-sitter build -o parser/test.so\",\n    ft = \"test\",\n    init = function()\n        -- toggle full-width rules for test separators\n        vim.g.tstest_fullwidth_rules = false\n        -- set the highlight group of the rules\n        vim.g.tstest_rule_hlgroup = \"FoldColumn\"\n    end\n}\n```\n\n[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-test/ci.yml?logo=github&label=CI\n[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord\n[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix\n[npm]: https://img.shields.io/npm/v/@tree-sitter-grammars/tree-sitter-test?logo=npm\n[crates]: https://img.shields.io/crates/v/tree-sitter-test?logo=rust\n[pypi]: https://img.shields.io/pypi/v/tree-sitter-test?logo=pypi&logoColor=ffd242\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "TS corpus test grammar for tree-sitter",
    "version": "0.3.0",
    "project_urls": {
        "Funding": "https://github.com/sponsors/ObserverOfTime",
        "Homepage": "https://github.com/tree-sitter-grammars/tree-sitter-test"
    },
    "split_keywords": [
        "incremental",
        " parsing",
        " tree-sitter",
        " test"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e4242392a749bd873129ebec2977d05715a6efab0e279abb348d5a3f1b7b43e9",
                "md5": "071d6d73bbba7627ca1fe31585b37130",
                "sha256": "57513d21e5091855eb2e5a9f931b26ed6a0ad32f32b0c71efc28505142fa0145"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "071d6d73bbba7627ca1fe31585b37130",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 11965,
            "upload_time": "2025-08-11T10:14:29",
            "upload_time_iso_8601": "2025-08-11T10:14:29.877475Z",
            "url": "https://files.pythonhosted.org/packages/e4/24/2392a749bd873129ebec2977d05715a6efab0e279abb348d5a3f1b7b43e9/tree_sitter_test-0.3.0-cp310-abi3-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9eb44567623aa2cd86c522446fc023612696dd73a92a658964141247a9dec79d",
                "md5": "5e79d7a81464c93a133fa50480059a22",
                "sha256": "f29ee865ff35fd5c4d0f9001557a0fe735b545a21a8538c5cc00567ed384a1b1"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "5e79d7a81464c93a133fa50480059a22",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 12275,
            "upload_time": "2025-08-11T10:14:30",
            "upload_time_iso_8601": "2025-08-11T10:14:30.910578Z",
            "url": "https://files.pythonhosted.org/packages/9e/b4/4567623aa2cd86c522446fc023612696dd73a92a658964141247a9dec79d/tree_sitter_test-0.3.0-cp310-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "286c4402718aa18661f7a88f26a103cdd480106d7a17c0e2a51ae75dc0457ff5",
                "md5": "1d189a69690c3e18d33cda8aa0c0b9ea",
                "sha256": "a2408d37787ca86084167d0c5bd0162e5ed393e880bf0a79d80653038780a2ce"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1d189a69690c3e18d33cda8aa0c0b9ea",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 25742,
            "upload_time": "2025-08-11T10:14:31",
            "upload_time_iso_8601": "2025-08-11T10:14:31.912522Z",
            "url": "https://files.pythonhosted.org/packages/28/6c/4402718aa18661f7a88f26a103cdd480106d7a17c0e2a51ae75dc0457ff5/tree_sitter_test-0.3.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "310090fe6858900c86106ca03ec86e14d3c1094daf8014d0b9d94b8d627f429e",
                "md5": "031c143dbae8a652bdb6cd4fbdd4511c",
                "sha256": "d28366a067a2528034e819dfafa18156c1bc0b7c313c5949245c046f3e95776c"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "031c143dbae8a652bdb6cd4fbdd4511c",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 27140,
            "upload_time": "2025-08-11T10:14:32",
            "upload_time_iso_8601": "2025-08-11T10:14:32.632099Z",
            "url": "https://files.pythonhosted.org/packages/31/00/90fe6858900c86106ca03ec86e14d3c1094daf8014d0b9d94b8d627f429e/tree_sitter_test-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d57e765fde39fed0ed32c86ec291464536dcbb28a08db6f11a66ed9a602b304b",
                "md5": "e8a46f510e9b5675a6fe7d2f9013174b",
                "sha256": "c4f2022524106cdbc72a0eb9a3aa98f6eb0c98bffa39f659a7d947bbe6845bfc"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e8a46f510e9b5675a6fe7d2f9013174b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 25599,
            "upload_time": "2025-08-11T10:14:33",
            "upload_time_iso_8601": "2025-08-11T10:14:33.674443Z",
            "url": "https://files.pythonhosted.org/packages/d5/7e/765fde39fed0ed32c86ec291464536dcbb28a08db6f11a66ed9a602b304b/tree_sitter_test-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c578f9f1dc6a09ab0aca5fd66c30d512875071527ff89d7d1d19d488e93579e8",
                "md5": "2bedcd3ab22c399bcf4c371c1f633cba",
                "sha256": "31b4c123bb70f0ee6c5bafd798acf17ed2df0df3f17e6636a53622f65c64e516"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2bedcd3ab22c399bcf4c371c1f633cba",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 14289,
            "upload_time": "2025-08-11T10:14:34",
            "upload_time_iso_8601": "2025-08-11T10:14:34.446083Z",
            "url": "https://files.pythonhosted.org/packages/c5/78/f9f1dc6a09ab0aca5fd66c30d512875071527ff89d7d1d19d488e93579e8/tree_sitter_test-0.3.0-cp310-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9ca6f8bff49a7dcea5e9017aa04568889d4638b77f669964c9a0e8d98f06fa85",
                "md5": "63f552b6787eb2639f3e4c4b04238410",
                "sha256": "7c7091f8ab85f54cae38be18fa2ac189ec37e6280f6a990567429141de606369"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0-cp310-abi3-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "63f552b6787eb2639f3e4c4b04238410",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 13496,
            "upload_time": "2025-08-11T10:14:35",
            "upload_time_iso_8601": "2025-08-11T10:14:35.202638Z",
            "url": "https://files.pythonhosted.org/packages/9c/a6/f8bff49a7dcea5e9017aa04568889d4638b77f669964c9a0e8d98f06fa85/tree_sitter_test-0.3.0-cp310-abi3-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bd6b3cdfde55dabc9b4c5d301fa75511a061ead093dbe8ceb5e35b5c637783f0",
                "md5": "5a786a9b7421af79f875962c8d96b6bc",
                "sha256": "44487da91d9f6efd8514b233366a121ee34e19c2004a92277fba2f09572c336c"
            },
            "downloads": -1,
            "filename": "tree_sitter_test-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5a786a9b7421af79f875962c8d96b6bc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 16253,
            "upload_time": "2025-08-11T10:14:35",
            "upload_time_iso_8601": "2025-08-11T10:14:35.972076Z",
            "url": "https://files.pythonhosted.org/packages/bd/6b/3cdfde55dabc9b4c5d301fa75511a061ead093dbe8ceb5e35b5c637783f0/tree_sitter_test-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-11 10:14:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sponsors",
    "github_project": "ObserverOfTime",
    "github_not_found": true,
    "lcname": "tree-sitter-test"
}
        
Elapsed time: 2.09703s