Wilfred Hughes
447ed2c14d
Fix crash on unicode characters on line boundaries
...
Fixes #74
2021-12-11 15:58:07 +07:00
Wilfred Hughes
740a82e6fc
Note robustness in known issues
...
There are several crashes in the current release.
2021-12-11 14:49:26 +07:00
Wilfred Hughes
36857c3828
Allow terminal width to be overridden by DFT_WIDTH
...
Should help with #71 .
2021-12-11 14:46:03 +07:00
Wilfred Hughes
cc9f2f2d40
Fix typo
2021-12-08 00:50:51 +07:00
Wilfred Hughes
6f1baae23e
Prefer terminal_width crate so we support more platforms
...
term_width is unmaintained and does not support Windows.
Fixes #71
2021-12-07 23:24:13 +07:00
Wilfred Hughes
bffbf1b779
Document release dates
2021-12-07 23:13:46 +07:00
Wilfred Hughes
d820a4ed29
Document windows build fixes
2021-12-07 23:10:07 +07:00
Wilfred Hughes
2bdd876d40
Expand example in JSX samples to test #72
2021-12-07 23:09:07 +07:00
Wilfred Hughes
d417fc9ae1
Print string contents of tree-sitter leaf nodes
2021-12-07 23:09:07 +07:00
Jason Shirk
ea055e6356
Fix Windows build warning
2021-12-07 09:13:54 +07:00
Wilfred Hughes
4529018d1d
Attempt to set C++ standard for Windows compilers
...
There's no helper in the cc crate for this, but it's been proposed:
https://github.com/alexcrichton/cc-rs/issues/565
Hopefully will improve #67
2021-12-05 10:43:29 +07:00
Wilfred Hughes
1c4eb774d8
Minor grammar fix to contributing guide
2021-12-04 23:56:59 +07:00
Wilfred Hughes
4948f59855
Roll version
2021-12-04 23:56:42 +07:00
Wilfred Hughes
89e42240fd
Remove unused type
2021-12-04 23:53:35 +07:00
Wilfred Hughes
34ab0cd516
Fix comment referencing an unused type
2021-12-04 23:52:20 +07:00
Wilfred Hughes
e00f94fed8
Treat float values as atoms in CSS
...
Otherwise we treat `0.5em` as two atoms, unlike `1em` which was
already a single atom.
2021-12-04 18:34:24 +07:00
Wilfred Hughes
9fbb1a2b78
cargo fmt
2021-12-04 18:20:45 +07:00
Wilfred Hughes
aab3e7f2cc
Treat regex literals and template string literals as atoms in JS/TS
...
Fixes #64
2021-12-04 18:19:15 +07:00
Wilfred Hughes
4f0fa617df
Don't require flags that only disable warnings
...
These flags aren't strictly required, they're only used to prevent
warnings when compiling tree-sitter parsers.
Should help with compiling on MSVC, see #63 .
2021-12-04 18:10:31 +07:00
Wilfred Hughes
29fa6f1102
Ensure sample file is a syntax error for tree-sitter
...
Turns out that missing closing parens doesn't lead to ERROR nodes.
2021-12-04 18:03:06 +07:00
Wilfred Hughes
d9e149decc
Log a warning on parse errors
...
Fixes #62
2021-12-04 18:02:36 +07:00
Wilfred Hughes
87c486742c
Treat punctuation characters individually when splitting comments
...
Fixes #49
2021-11-30 22:45:10 +07:00
Wilfred Hughes
37c6cc2875
Remove accidental dbg
2021-11-30 22:40:33 +07:00
Wilfred Hughes
5445608ab4
Adding debug logs when diffing whole directories
...
Should help with #53
2021-11-30 09:40:32 +07:00
Wilfred Hughes
45dd29c822
Cleanup comment
2021-11-30 09:26:15 +07:00
Wilfred Hughes
09f4b3b8e0
Merge commit 'e43ea50e8701bbe319e2a42922caab393267ee1c'
2021-11-28 11:41:26 +07:00
Stephan Seitz
e43ea50e87
Merge pull request #8 from theHamsta/fix-replacement-character
...
Fix replacement character
2021-11-28 15:00:08 +07:00
Stephan Seitz
f45d38cc63
Parse sly in CI
2021-11-28 14:59:14 +07:00
Stephan Seitz
cfce2b5a58
Fix unquoting in defuns
2021-11-28 14:57:02 +07:00
Stephan Seitz
9a7474e00d
fixup: only allow "#\(" and "#\("
2021-11-28 13:59:46 +07:00
Stephan Seitz
0cf1354208
fix: allow "(" ")" in char literals
2021-11-28 13:55:40 +07:00
Stephan Seitz
14700f45ee
Improve parsing of loop macro
2021-11-28 13:49:22 +07:00
Stephan Seitz
6078eed3f5
Update tests
2021-11-28 13:20:11 +07:00
Stephan Seitz
edf257d36b
Allow \<x> in strings where <x> is not "
2021-11-28 13:19:15 +07:00
Stephan Seitz
9a33a3412f
Fix with_clause
2021-11-28 13:03:47 +07:00
Stephan Seitz
90d1c56314
Allow with_clause without "="
2021-11-28 12:25:39 +07:00
Stephan Seitz
c60037a9d5
Add sly for testing
2021-11-28 12:25:19 +07:00
Stephan Seitz
3487072dda
Allow more characters in char_lit
2021-11-28 11:44:03 +07:00
Stephan Seitz
4acbcb0138
Fix #6 : don't inherit from Clojure character literals
2021-11-28 11:35:14 +07:00
Stephan Seitz
0ff5a1b752
Add reference to difftastic to README
2021-11-28 11:26:27 +07:00
Wilfred Hughes
430c300f04
Merge commit '01c17ac04f65143d3ae5e93354d808db4c9eb0a2'
2021-11-27 18:21:09 +07:00
Stephan Seitz
01c17ac04f
Merge pull request #6 from theHamsta/fix-packagelit-cl
...
Fix #5 : allow package literal "cl"
2021-11-27 13:13:22 +07:00
Stephan Seitz
b455a59859
Add CI tests for parsing Petalisp
2021-11-27 13:09:04 +07:00
Stephan Seitz
b506e326cd
Fix #5 : allow package literal "cl"
2021-11-27 12:02:58 +07:00
Wilfred Hughes
c3e29ec6ad
Make build script more precise in its paths to watch
2021-11-26 23:18:17 +07:00
Wilfred Hughes
05873b546b
Add support for Common Lisp
2021-11-26 22:53:21 +07:00
Wilfred Hughes
b80023243f
Add 'vendor/tree-sitter-commonlisp/' from commit '0e6fb49af1b14b5d37e960ac8756c7214a6fcf8f'
...
git-subtree-dir: vendor/tree-sitter-commonlisp
git-subtree-mainline: 0259aad5d1
git-subtree-split: 0e6fb49af1
2021-11-26 22:20:27 +07:00
Wilfred Hughes
0259aad5d1
Fix warning for test-only helper method
2021-11-26 21:59:00 +07:00
Stephan Seitz
0e6fb49af1
Merge pull request #4 from theHamsta/fix-at-in-identifier
...
Allow `@` in identifiers, relicense under MIT
2021-11-25 22:15:29 +07:00
Stephan Seitz
8c2cdcc4c5
Update tests
2021-11-25 22:09:49 +07:00