https://github.com/tree-sitter-grammars/tree-sitter-csv
csv grammar for tree-sitter
https://github.com/tree-sitter-grammars/tree-sitter-csv
csv parser tree-sitter
Last synced: 13 days ago
JSON representation
csv grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-csv
- Owner: tree-sitter-grammars
- License: mit
- Created: 2023-08-17T07:31:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-11-13T10:08:08.000Z (3 months ago)
- Last Synced: 2026-01-13T15:22:00.555Z (17 days ago)
- Topics: csv, parser, tree-sitter
- Language: C
- Homepage:
- Size: 87.9 KB
- Stars: 9
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-csv
[](https://github.com/amaanq/tree-sitter-csv/actions/workflows/ci.yml)
[](https://discord.gg/w7nTvsVJhm)
CSV, PSV, and TSV grammars for [tree-sitter](https://github.com/tree-sitter/tree-sitter).
Because CSV, PSV, and TSV are actually three different dialects, this module defines
two grammars. Require them as follows:
```js
require("tree-sitter-csv").csv; // CSV grammar
require("tree-sitter-csv").psv; // PSV grammar
require("tree-sitter-csv").tsv; // TSV grammar
```