Wilfred Hughes
ca9b7da43f
Run cargo fmt
2025-03-06 23:03:40 +07:00
Wilfred Hughes
8953c55cf8
Pass String to new_atom
...
This is a very tiny perf hit, but allows us to pass newly allocated
strings to new_atom(), which will be necessary for normalising
case-insensitive languages.
2025-02-23 20:08:45 +07:00
Wilfred Hughes
0b386d332f
Update Erlang parser to use crate
...
Whilst we're here, restore support for rebar files now the parser
supports these.
2025-02-22 22:06:42 +07:00
Wilfred Hughes
89e2a459d6
Update F# parser to use crate
2025-02-22 21:53:21 +07:00
Wilfred Hughes
1b04d17c4d
Update Swift parser to use crate
2025-02-22 21:41:08 +07:00
Wilfred Hughes
97bab83730
Update Pascal parser to use crate
...
Closes #817
2025-02-22 21:34:10 +07:00
crbelaus
505a9f6c24
Consider Elixir sigils as atom nodes
2025-02-10 09:05:39 +07:00
Wilfred Hughes
d42797fa7e
Update Nix parser and use the crate from crates.io
2025-02-10 08:59:52 +07:00
Wilfred Hughes
bd9c98050e
Update Elixir parser and use crate from crates.io
2025-02-10 08:48:31 +07:00
Wilfred Hughes
59034daf60
Sort parsers alphabetically
2025-02-07 09:06:54 +07:00
Wilfred Hughes
17e6a54294
Ensure side-by-side-show-both always uses two columns
...
Fixes #812
2025-02-07 09:03:10 +07:00
Wilfred Hughes
e83fd336a2
Use array consistently in tree_sitter_parser
2025-02-03 22:25:56 +07:00
Wilfred Hughes
c14f567f81
Use FxHashSet everywhere
...
This is a performance improvement, and makes the code more consistent.
Instruction counts before:
3,137M instructions typing_*.ml
2,210M instructions slow_*.rs
Instruction counts after:
2,994M instructions typing_*.ml
2,180M instructions slow_*.rs
So almost a 5% reduction in instruction count.
2025-02-03 22:17:04 +07:00
Wilfred Hughes
6f35d13fee
Update to latest tree-sitter Rust parser on crates.io
2025-01-25 17:10:30 +07:00
Wilfred Hughes
8fcfdae7bd
Ignore .git subdirectories when diffing directoriesa
...
Closes #798
2025-01-21 21:54:00 +07:00
Wilfred Hughes
ba843a689d
Remove --missing-as-empty from argument parsing and man page
...
Fixes #802
2025-01-11 15:14:57 +07:00
Wilfred Hughes
09355c6c21
Make Windows-1252 detection stricter
2025-01-11 14:50:27 +07:00
Wilfred Hughes
fadd0f22ef
Support Windows-1252 and make UTF-16 detection stricter
...
Fixes #797
2025-01-04 15:48:39 +07:00
Wilfred Hughes
44be153e7d
Use clap's dynamic String feature rather than another dependency
2025-01-03 21:33:05 +07:00
Wilfred Hughes
4796db333d
Migrate to clap4
...
Closes #775
2025-01-03 21:10:16 +07:00
Wilfred Hughes
209ea7f0de
Migrate to clap4 validators
2025-01-03 21:01:41 +07:00
Wilfred Hughes
5b7643602f
Fix more clap deprecation issues
2025-01-03 20:49:41 +07:00
Wilfred Hughes
c286656366
Fix more clap deprecation issues
2025-01-03 20:37:56 +07:00
Wilfred Hughes
d5e58781be
Fix another clap deprecation warning
2025-01-03 20:37:56 +07:00
Wilfred Hughes
dfcb26c7af
Use tree-sitter-yaml from crates.io
2024-12-21 14:19:40 +07:00
Wilfred Hughes
dda64336e6
Use tree-sitter-make from crates.io
2024-12-21 14:10:07 +07:00
Wilfred Hughes
b3606fc219
Use tree-sitter-xml from crates.io
2024-12-20 09:16:19 +07:00
Wilfred Hughes
cef0b569dd
Use tree-sitter-lua from crates.io
2024-12-20 09:12:16 +07:00
Wilfred Hughes
a6eb339f71
Use tree-sitter-toml from crates.io
2024-12-20 09:07:52 +07:00
Wilfred Hughes
c73b18be77
Use tree-sitter-css from crates.io
2024-12-20 09:00:04 +07:00
Wilfred Hughes
4873e87dac
Use tree-sitter-html from crates.io
2024-12-20 08:55:33 +07:00
Wilfred Hughes
507b60bc45
Use tree-sitter-json from crates.io
2024-12-20 08:49:09 +07:00
Wilfred Hughes
eb0b47d403
Use tree-sitter-php from crates.io
2024-12-20 08:36:36 +07:00
Wilfred Hughes
f9d663ea9f
Use tree-sitter-bash from crates.io
2024-12-20 08:32:54 +07:00
Wilfred Hughes
7e8974e295
Use tree-sitter-go from crates.io
2024-12-20 08:29:30 +07:00
Wilfred Hughes
15b9590db5
Use tree-sitter-julia from crates.io
2024-12-20 08:25:23 +07:00
Wilfred Hughes
d2ed2f6123
Use tree-sitter-java from crates.io
2024-12-20 08:18:17 +07:00
Wilfred Hughes
776d978f09
Use tree-sitter-typescript from crates.io
2024-12-20 00:09:12 +07:00
Wilfred Hughes
88731f932d
Use tree-sitter-javascript from crates.io
2024-12-20 00:02:14 +07:00
Wilfred Hughes
db379cf94d
Use tree-sitter-c and tree-sitter-cpp from crates.io
2024-12-19 23:50:23 +07:00
Wilfred Hughes
6ea71e6983
Use tree-sitter-python from crates.io
2024-12-19 23:38:43 +07:00
Wilfred Hughes
2bbed44664
Use tree-sitter-c-sharp from crates.io
2024-12-19 23:21:26 +07:00
Wilfred Hughes
de6e6707d2
Use tree-sitter-ocaml from crates.io
2024-12-19 23:14:12 +07:00
Wilfred Hughes
919f15344f
Use tree-sitter-objc from crates.io
2024-12-19 23:00:43 +07:00
Wilfred Hughes
913aee1c07
Use tree-sitter-scala from crates.io
2024-12-19 22:56:33 +07:00
Wilfred Hughes
a9ed8bf5a1
Use tree-sitter-ruby from crates.io
2024-12-19 22:49:30 +07:00
Wilfred Hughes
79bdf87c97
Remove old vendored haskell parser
2024-12-19 22:41:54 +07:00
Wilfred Hughes
bbe4890cfd
Use tree-sitter-haskell from crates.io
2024-12-19 22:33:28 +07:00
Wilfred Hughes
943ea4b613
Bump tree-sitter to 0.24.x
2024-12-19 22:22:12 +07:00
Wilfred Hughes
649c557708
Fix some clippy lints
2024-12-19 21:29:31 +07:00