Stephan Seitz
6503780092
build: Update requires-python to 3.9
2025-03-16 16:11:28 +07:00
Stephan Seitz
0b42e195ea
publish: bump version 0.4.0
2025-03-16 15:59:04 +07:00
Stephan Seitz
a398b9a885
ci: add Swift tests
2025-03-16 15:59:04 +07:00
Stephan Seitz
fe5cc32fda
fix: Swift package excludes
2025-03-16 15:59:04 +07:00
Stephan Seitz
6b703aeebc
chore: add `.build` to .gitignore
2025-03-16 15:59:04 +07:00
Stephan Seitz
5e206c14f7
deps: update Go deps
2025-03-16 15:59:04 +07:00
Stephan Seitz
57a7c14f4f
deps: update tree-sitter-cli
2025-03-16 15:59:04 +07:00
Stephan Seitz
dfe57db650
ci: add Python test
2025-03-16 15:59:04 +07:00
Stephan Seitz
1808ba3764
chore: add tree-sitter.json
2025-03-16 15:59:04 +07:00
Stephan Seitz
68609dc822
chore: regenerate grammar
2025-03-16 15:59:04 +07:00
Stephan Seitz
6017b4ff6c
ci: test bindings
2025-03-16 15:59:04 +07:00
Stephan Seitz
a92e3612e0
feat: migrate to Rust 2024 edition
2025-03-16 15:59:04 +07:00
Stephan Seitz
aa14ee9ee9
feat: modernize Rust bindings to use `tree_sitter_language::LanguageFn`
...
Fixes #38
2025-03-16 15:59:04 +07:00
Wilfred Hughes
d8b715bd5b
Rename myers_diff to LCS diff as it's not actually Myers algorithm
2025-03-09 23:55:08 +07:00
Wilfred Hughes
ca9b7da43f
Run cargo fmt
2025-03-06 23:03:40 +07:00
Giacomo Cavalieri
e01c88449b
add missing echo test
2025-03-06 08:28:21 +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
5420cd19fa
Remove old symlink
2025-02-22 21:48:54 +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
Wilfred Hughes
de601cbfc5
Position no longer has any effect on diffing
2025-02-21 08:27:08 +07:00
Wilfred Hughes
f34a901476
Update version number in build instructions
2025-02-15 14:28:24 +07:00
Wilfred Hughes
22e4693c57
Document usage with jj
2025-02-11 08:44:57 +07:00
Wilfred Hughes
b6791c26bc
Roll version
2025-02-11 08:39:44 +07:00
Wilfred Hughes
f45f81cf98
Missing words
2025-02-10 17:41:06 +07:00
crbelaus
b0a4ddc7ed
Fix output regression test
2025-02-10 09:06:03 +07:00
crbelaus
505a9f6c24
Consider Elixir sigils as atom nodes
2025-02-10 09:05:39 +07:00
crbelaus
c5527634b8
Add Elixir example files
2025-02-10 09:04:49 +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
8f6484cf75
Fix typo
2025-02-10 08:40:58 +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
Alex Manning
af6043419f
Generate parser
2025-02-07 14:27:03 +07:00
Alex Manning
3a5c285357
fix(functions): remove function body alias and use block ( #111 )
2025-02-07 08:26:13 +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
2218c88fb0
Enable prebuilt musl binaries on release
...
These binaries now work when testing them on CI, so I believe the
issues have now been resolved. This was probably due to the rustc
version upgrades.
Closes #563
2025-02-03 08:46:40 +07:00
Wilfred Hughes
c013972848
Try enabling musl tests on CI
2025-02-03 08:37:12 +07:00
Wilfred Hughes
7a0d50380a
Tweak punctuation in man page
2025-01-25 17:21:44 +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
56bf026c49
Add missing files for latex build
2025-01-21 21:49:18 +07:00
Wilfred Hughes
28d7cadd40
Document latex update
...
Closes #733
2025-01-21 08:43:15 +07:00
Wilfred Hughes
37eb3526bd
Regenerate latex parser.c
2025-01-21 08:42:28 +07:00
Wilfred Hughes
d51fb186be
Merge commit '7b06f6ed394308e7407a1703d2724128c45fc9d7'
2025-01-21 08:39:54 +07:00
Wilfred Hughes
398da169e0
Merge commit '7b06f6ed394308e7407a1703d2724128c45fc9d7'
2025-01-21 08:26:59 +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