Yuya Nishihara
3bcf9c4d09
merge with dev
2022-07-08 00:17:44 +07:00
Yuya Nishihara
6ba094fa5b
exclude more emacs temporary files
2022-07-08 00:01:43 +07:00
Yuya Nishihara
96059d67df
bump version to 0.1.1
2022-07-07 23:58:16 +07:00
Yuya Nishihara
2278c75c94
readme: add build instruction
2022-07-07 23:56:22 +07:00
Yuya Nishihara
4bc26974c1
make: add clean rule for ease of switching dev/master branches
2022-07-07 23:40:17 +07:00
Yuya Nishihara
c7c7c2749a
cargo: bump edition to 2021 (no code change)
2022-07-07 23:33:06 +07:00
Yuya Nishihara
2e20b9d65f
Merge branch 'dev'
2022-07-07 14:12:57 +07:00
Yuya Nishihara
8da1e5ed7e
cargo: fix repository URL ( #1 )
2022-07-07 14:12:37 +07:00
Yuya Nishihara
0d2c4763a6
cargo: fix repository URL ( #1 )
2022-07-07 14:11:37 +07:00
Yuya Nishihara
7cf28e8a9c
include queries/*.scm symlinks in master branch ( fixes #1 )
2022-07-07 13:44:16 +07:00
Yuya Nishihara
f26a852567
merge with dev
2022-07-07 13:34:01 +07:00
Yuya Nishihara
e8b1304ec7
github: ensure npm/cargo do the job without 'make generate' ( #1 )
...
This should fail at the moment.
2022-07-07 13:30:21 +07:00
Yuya Nishihara
49eba629f8
regenerate
2022-06-18 14:53:36 +07:00
Yuya Nishihara
47b8f7fdc6
merge with dev
2022-06-18 14:52:18 +07:00
Yuya Nishihara
48111fa1c0
regenerate
2022-06-18 14:50:38 +07:00
Yuya Nishihara
a305b73e3e
readme: add comment about ambiguous grouped notation
2022-06-18 14:48:21 +07:00
Yuya Nishihara
274c7586bc
bump tree-sitter-typescript to 1b3ba31c75
2022-06-18 14:23:52 +07:00
Yuya Nishihara
569d2f193b
bump ref grammar to ba94a296c3ea97c755538ef99efe5d1dd034725c (no change)
2022-06-18 14:18:45 +07:00
Yuya Nishihara
ea574582f6
update generated sources
2022-03-03 19:37:36 +07:00
Yuya Nishihara
0710261a67
Merge branch 'dev'
2022-03-03 19:35:51 +07:00
Yuya Nishihara
97cba141ac
run cargo fmt
2022-03-03 19:31:38 +07:00
Yuya Nishihara
768cd53258
embed highlights and locals queries in rust library
2022-03-03 19:30:10 +07:00
Yuya Nishihara
b2213c7d6a
help emacs indent query comments properly
2022-03-03 19:19:25 +07:00
Yuya Nishihara
252bb972a0
bump ref grammer to qtdeclarative 126afed75f738d93935b3b82f1afddda058ec148
...
The following change has already been supported since our grammar isn't
strict: e7db279c28 "QML: Allow declaring and binding list<foo> properties
in one step."
2022-03-03 18:51:03 +07:00
Yuya Nishihara
32092d84f9
bump ref grammar to qtdeclaretive 0d799cc0ddf851c64c15441f4774784e3179d1f2
2022-01-10 12:35:13 +07:00
Yuya Nishihara
c40479c544
bump tree-sitter-typescript to 54931b39ae
2022-01-10 12:17:13 +07:00
Yuya Nishihara
a30572411f
use #eq? predicate for exact match
2021-12-29 15:13:12 +07:00
Yuya Nishihara
d5e9555597
Merge branch 'dev'
2021-12-29 11:13:07 +07:00
Yuya Nishihara
603359edb7
bump version to 0.1.0
2021-12-29 11:12:06 +07:00
Yuya Nishihara
99f2c91412
update generated sources
2021-12-28 21:54:49 +07:00
Yuya Nishihara
3bc56f310f
Merge branch 'dev'
2021-12-28 21:54:14 +07:00
Yuya Nishihara
d1b5f96230
add stripped-down version of workflow for master branch
2021-12-28 21:53:05 +07:00
Yuya Nishihara
ff8c9afadd
add github workflow to build and run tests on dev branch
2021-12-28 18:46:04 +07:00
Yuya Nishihara
a33e1049b0
add locals query to resolve object id
2021-12-28 18:00:10 +07:00
Yuya Nishihara
c96c6426b3
update highlight rules to include most of QML nodes
2021-12-28 17:22:17 +07:00
Yuya Nishihara
150f6ca3d1
leverage type_identifier where we're sure only type is allowed
2021-12-28 16:04:03 +07:00
Yuya Nishihara
b00bb2af8d
minimize use of reserved identifier resolution
2021-12-28 15:42:59 +07:00
Yuya Nishihara
19d9d2358b
update generated sources
2021-12-26 17:09:29 +07:00
Yuya Nishihara
b869644bdd
Merge branch 'dev'
2021-12-26 17:08:40 +07:00
Yuya Nishihara
04bcb7b78e
copy license and source information to typescript-scanner.h
2021-12-26 16:59:46 +07:00
Yuya Nishihara
1c2171a5a2
rename fields of import statement
...
I feel 'uri'/'id' are confusing, so let's copy the field names from JavaScript
grammar.
2021-12-26 16:45:17 +07:00
Yuya Nishihara
5093d57951
consolidate import URI
...
Let's simply use identifier/nested_identifier nodes for any kind of
identifiers.
2021-12-26 16:34:59 +07:00
Yuya Nishihara
5192867c58
rename ui_qualified_id to (ui_)nested_identifier per base grammar
2021-12-26 16:28:32 +07:00
Yuya Nishihara
4c354bce1f
consolidate identifier nodes
...
Since tree-sitter's lexer is more relaxed, we don't need a specialized
identifier node unless there are conflicting keywords.
2021-12-26 16:19:45 +07:00
Yuya Nishihara
46afae96cb
parse "from" and "of" as JavaScript expression
2021-12-26 15:43:22 +07:00
Yuya Nishihara
05b9dd8011
add more keywords that could be parsed by qml to test corpus
2021-12-26 15:39:58 +07:00
Yuya Nishihara
4b640daa0a
move test of reserved words to identifiers.txt
2021-12-26 14:33:37 +07:00
Yuya Nishihara
8a209fc1f2
add test of unicode and unicode-escaped identifiers
2021-12-26 13:50:12 +07:00
Yuya Nishihara
f4bc58c6e5
add test of grouped property binding notation
2021-12-26 13:50:08 +07:00
Yuya Nishihara
ff7422d19a
extract common QML object member and binding values as supertypes
2021-12-25 22:34:08 +07:00