Amaan Qureshi
55fda55b9b
feat(cli): rework highlight to use new input handler
...
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-01-03 16:16:17 -05:00
Amaan Qureshi
88d2f010f5
feat(cli): rework query to use new input handler
...
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-01-03 16:16:17 -05:00
Amaan Qureshi
6bad1bc6c5
feat(cli): rework parse to use new input handler
...
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-01-03 16:16:17 -05:00
Amaan Qureshi
b3183363a2
feat(loader): add a way to get the cwd's language config
...
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-01-03 16:16:17 -05:00
Amaan Qureshi
cc449ad965
feat(cli): make input handling agnostic
...
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
2025-01-03 16:16:17 -05:00
Amaan Qureshi
3456330fe9
fix: update outdated links
2025-01-03 15:09:33 -05:00
dependabot[bot]
2c064039c7
build(deps): bump emscripten to 3.1.74
2025-01-02 22:10:49 -06:00
Owen Shepherd
77f74a05c7
chore(generate): remove unused fields
2025-01-02 22:11:04 -05:00
WillLillis
cd3d967f3c
fix(cli): correct range in cst pretty printer
2025-01-01 23:55:16 -05:00
Amaan Qureshi
22f67e2b67
fix(query): ensure immediate matches for any node when an anchor follows a wildcard node
2024-12-29 00:54:16 -05:00
Amaan Qureshi
d87d4592e0
test(rust): correct expected and actual spots in assert_eq calls
2024-12-29 00:54:16 -05:00
Will Lillis
4f9869142f
fix(rust): adapt to a few new nightly lints
2024-12-28 01:17:04 -05:00
Amaan Qureshi
b70843a033
fix(playground): add dark theme, align ui more akin to upstream playground
2024-12-25 21:23:36 -05:00
Amaan Qureshi
5bd0d11982
fix(playground): ensure local playground is initialized
2024-12-25 21:23:36 -05:00
Amaan Qureshi
bd6aa2be2b
fix(playground): correct link to upstream playground
2024-12-25 21:23:36 -05:00
Amaan Qureshi
dda45cfbb6
docs: move assets to correct path
2024-12-25 21:23:36 -05:00
Amaan Qureshi
f3d50f273b
fix(lib): add saturating subtraction to prevent integer underflow
2024-12-25 04:49:39 -05:00
Amaan Qureshi
043969ef18
docs: migrate to mdbook
2024-12-24 20:54:59 -05:00
Max Brunsfeld
201b41cf11
feat: add 'reserved word' construct
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-23 03:06:32 -05:00
WillLillis
faf97b896a
fix(cli): use xdg config directory on macOS
...
fix: address feedback
2024-12-23 02:09:06 -05:00
WillLillis
b747261929
feat(cli): display parse and edit times separately for parse --time
2024-12-23 02:06:13 -05:00
Will Lillis
5d9870ebee
feat(cli): show parse times in testing output
2024-12-23 01:22:37 -05:00
Amaan Qureshi
8744a4e3f2
feat(lib): use const for TSCharacterRanges
2024-12-23 01:19:10 -05:00
Amaan Qureshi
7d3dbc062d
build: bump deps
2024-12-16 01:22:58 -05:00
Amaan Qureshi
214b3dc2e6
fix(cli): handle nested tags test files
2024-12-16 00:25:43 -05:00
Amaan Qureshi
2374bca62a
fix(cli): gracefully handle OOB assertions
2024-12-16 00:15:02 -05:00
Ramkumar Ramachandra
07aaf2322e
fix: keep highlight names list consistent in the docs and cli
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-15 23:29:43 -05:00
Amaan Qureshi
9e1a2a701b
fix(cli): correct default query paths
2024-12-15 23:05:54 -05:00
Amaan Qureshi
e2d1e40a4d
fix(cli): correct warning message
2024-12-15 23:05:54 -05:00
Gabriel Holodak
f279d10aa2
fix(cli): count skipped tests correctly
2024-12-15 16:09:51 -05:00
Gabriel Holodak
8de3a2ee13
fix(cli): replace nerd font symbols with unicode symbols
2024-12-15 16:09:51 -05:00
Jonathan Raphaelson
8368f9994d
feat: add flag to output css classes instead of inline styles in HTML highlighter output
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-15 01:43:22 -05:00
Riley Bruins
495fe2a6c5
feat: support querying missing nodes
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-14 14:57:36 -05:00
kylegoetz
cd94dbd57f
feat(cli): don't validate email addresses in init command
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-12 20:00:48 -05:00
Amaan Qureshi
ea9aa018b3
feat(cli): add nushell completions
2024-12-10 19:35:58 -05:00
Will Lillis
c7b218838d
fix: minor issues with CI
...
* update ctor
* pass empty `RUSTFLAGS` when installing cross, overriding
the default `-D warnings`
* fix some clippy lints
* create `target` directory before curling wasmtime lib
2024-12-03 16:41:38 -05:00
Novus Nota
e445532a1f
feat(cli): verify assertions for every carat in tests, not just the first one
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-11-28 23:25:49 -05:00
ObserverOfTime
473f0a1a4d
feat(bindings): update some binding files
...
- setup.py
- binding.gyp
2024-11-25 09:45:13 -05:00
ObserverOfTime
a08c4b58ab
fix(bindings): include headers & queries in python sdist
2024-11-25 09:45:13 -05:00
Peter Oliver
8eb4407200
feat(make,cmake): install queries along with parser libraries
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-11-25 07:59:25 -05:00
dependabot[bot]
ed23f02784
build(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /cli/eslint
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.5.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 23:18:29 -05:00
Amaan Qureshi
274e60a523
fix: clippy lints
2024-11-16 03:20:59 -05:00
Riley Bruins
78e5144f3f
feat: generate schema in tree-sitter.json
2024-11-16 00:38:58 -05:00
Amaan Qureshi
05b2f443ba
fix: clippy lint
2024-11-15 23:54:18 -05:00
Riley Bruins
fa6c1471ef
fix(lib): correct escape detection for invalid anonymous nodes
...
The current quotation escape checker fails in the case that
there is an anonymous node that is just an escaped backslash (it thinks
the backslash escapes the quote, when really it is just an escaped
backslash itself. See the added test case for an example of this).
This commit ensures the node identification logic keeps track of the
number of backslashes seen so it can accurately determine if the
quotation is escaped or not.
2024-11-15 23:49:06 -05:00
dependabot[bot]
0f7d888883
build(deps): bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /cli/eslint
...
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite ) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases )
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json )
- [Commits](https://github.com/eslint/rewrite/compare/core-v0.2.0...plugin-kit-v0.2.3 )
---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 23:45:35 -05:00
Riley Bruins
bcf82da55c
refactor: reuse symbol variable in subtype map generator
...
Tiny change to prevent redundant creation of a symbol value in
`node_types.rs`.
2024-11-13 20:54:57 -05:00
Amaan Qureshi
015547c526
fix: compiler warning
2024-11-12 19:10:06 -05:00
crvdgc
15c2957993
fix(xtask): bring back language and example filter
2024-11-12 19:09:49 -05:00
Will Lillis
5d1be545c4
fix(lib): correct next sibling of zero width node
2024-11-12 18:17:45 -05:00