Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

prisma/tree-sitter-prisma

 
 

Repository files navigation

Tree Sitter Prisma

semantic-release

Introduction

This is an unofficial Prisma language parsing. More information about the language and specs can be found here:

If you notice any bug or problem, please submit an issue or make a pull request. Any contribution is welcomed and needed.

Development

Requirements:

  • Rust >= 1.36
  • npm >= 6

All the parsing logic is specified in grammar.js at the root level. To see if the changes made to it are working, run the tests and compare the results.

npm test

More information about how to write or use the tree parser can be found here: http://tree-sitter.github.io/tree-sitter/

Many parts of the code were scavenged from these repositories:

I'm grateful to the authors and contributors of those repositories, without them this parser would be a lot times worse. Thank you for having such a good documentation and code.

About

Prisma tree sitter grammar

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.2%
  • JavaScript 2.8%
  • Rust 1.3%
  • Other 0.7%