mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 10:35:03 +01:00
Introduce a principle that the Carbon language should not encroach on the developer's namespace. Satisfy this principle by making `Core` a keyword. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
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
- Install tree-sitter and Nodejs.
- Install Helix.
- Run
./helix.sh
Emacs
TODO