0.2.4 • Published 4 years ago

@movei/tree-sitter-move v0.2.4

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

tree-sitter-move

tree-sitter grammar for Libra's Move language.

Move Grammar

The grammar is based on the origin Move language syntax parser. Once Move is stablized, the grammar will also be stable.

I'd like to use this grammar to do syntax hightlighting for Move in vscode, and maybe atom.

Develop

  1. Install tree-sitter-cli first.
  2. then run tree-sitter generate.
  3. parse a exmaple file: tree-sitter parse examples/libra-std/libra_account.move.

Try

tree-sitter build-wasm
tree-sitter web-ui

Test

Run:

tree-sitter test
# or parse whole libra std module
tree-sitter parse -q -t examples/libra-std/*.move
0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago