Jon Ross-Perkins 8c3fa80691 Add cc rule wrappers for cc_env (#5277) 1 년 전
..
queries e257051612 No predeclared identifiers, `Core` is a keyword (#4864) 1 년 전
src 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
testdata 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
.gitignore 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
BUILD 8c3fa80691 Add cc rule wrappers for cc_env (#5277) 1 년 전
README.md 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
grammar.js 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
helix.sh 6f6e46ef57 Migrate tree-sitter support to MODULE.bazel (#4783) 1 년 전
test_runner.cpp 38d25cf622 Share ReadFile in tests (#4967) 1 년 전

README.md

Tree-sitter grammar for Carbon

Tree-sitter is currently used for syntax highlighting in supported editors.

Development

We use a non-hermetic tree-sitter invocation, so it must be installed locally. To install tree-sitter, run:

npm install -g tree-sitter-cli

Editor Installation

Helix

  1. Install tree-sitter and Nodejs.
  2. Install Helix.
  3. Run ./helix.sh

Emacs

TODO