Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 677f3ae

Browse files
committed
Update repository to focus solely on the Tree-Sitter grammar
1 parent 6a0003e commit 677f3ae

16 files changed

+9
-595
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
grammars/tree-sitter/src/** linguist-vendored
1+
src/** linguist-vendored

LICENSE

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 George Fraser
4-
Copyright (c) 2018 fwcd
3+
Copyright (c) 2019 fwcd
54

65
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
76

README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
1-
# KotlinLanguageGrammars
2-
[TextMate](https://macromates.com/manual/en/language_grammars) and [Tree-Sitter](http://tree-sitter.github.io/tree-sitter/) language grammars for [Kotlin](https://kotlinlang.org).
1+
# TreeSitterKotlin
2+
[Kotlin](https://kotlinlang.org) language grammar for [Tree-Sitter](http://tree-sitter.github.io/tree-sitter/).
33

44
![Icon](Icon128.png)
55

6-
The grammars are based on the [official language grammar](https://kotlinlang.org/docs/reference/grammar.html).
6+
The grammar is based on the [official language grammar](https://kotlinlang.org/docs/reference/grammar.html).
77

8-
## Tree-Sitter
9-
_Note that the Tree-Sitter grammar is highly experimental and not suited for production usage yet!_
8+
_Note that the grammar is highly experimental and not suited for production usage yet!_
109

11-
### Setup
10+
## Setup
1211

1312
First, make sure to have Node.js 8 installed. Then run
1413

1514
>`npm install -g tree-sitter-cli`
1615
1716
to install the parser generator.
1817

19-
### Compilation
18+
## Compilation
2019

2120
To re-compile the grammar, navigate to the `tree-sitter` directory and run:
2221

2322
>`tree-sitter generate`
2423
2524
Note that the grammar is written completely in JavaScript (`grammar.js`), the other source files are generated by `tree-sitter`.
2625

27-
### Documentation
26+
## Documentation
2827

2928
More documentation on how to create Tree-Sitter grammars [can be found here](https://tree-sitter.github.io/tree-sitter/creating-parsers).
3029

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)