An open API service indexing awesome lists of open source software.

https://github.com/lumakernel/tree-sitter-prisma

Tree-sitter parser definition for prisma schema
https://github.com/lumakernel/tree-sitter-prisma

lexer parser prisma2 tree-sitter

Last synced: 11 months ago
JSON representation

Tree-sitter parser definition for prisma schema

Awesome Lists containing this project

README

          

# tree-sitter-prisma

[![Luma Style Guide](https://img.shields.io/badge/styled%20with-luma-%23c5ebeb?style=flat-square)](https://github.com/luma-dev/luma-style-guide#readme)

[tree-sitter](https://github.com/tree-sitter/tree-sitter) parser definitions for [prisma](https://github.com/prisma/prisma) schema.

It's not so serious project. I welcome any PRs.

![image](https://user-images.githubusercontent.com/29811106/103451981-f24d5500-4d0d-11eb-8be4-78d79309c87f.png)

## References

- Reference: https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference
- Reference: https://github.com/prisma/specs/tree/master/schema
- Reference Implementation: https://github.com/prisma/language-tools/tree/master/packages/vscode/syntaxes
- Reference Implementation: https://github.com/pantharshit00/vim-prisma

## License

- Overall are licensed under [MIT](./LICENSE).
- Additionally, [types/tree-sitter-sdk.d.ts](./types/tree-sitter-sdk.d.ts) is dual-licensed under the UNLINCENSE. This means you can copy and paste this file and edit without any attribution.

## Digression

- I found https://github.com/victorhqc/tree-sitter-prisma .
- I'm trying to use with nvim-tree-sitter, but not succeeded yet...