Commit Graph

6953 Commits (89e42240fdbf65d6f8ea65750310e349482e5c8c)
 

Author SHA1 Message Date
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
Stephan Seitz 7535bb813b Fix #3: Switch license to MIT 2021-11-25 22:04:17 +07:00
Stephan Seitz 2b49aeafe8 Update dependencies 2021-11-25 22:03:51 +07:00
Stephan Seitz 6a9b2cb1d6 Fix #2: allow @ in sym_lit 2021-11-25 22:03:47 +07:00
Stephan Seitz 5928e2e36d Update dependencies 2021-11-25 21:56:30 +07:00
Stephan Seitz 533375a710 Add CI 2021-11-25 18:16:34 +07:00
Wilfred Hughes d8ca54fc25 Add missing parsers to upstream repo table 2021-11-25 00:08:57 +07:00
Wilfred Hughes 4b0f7708ae Expand file associations 2021-11-25 00:07:36 +07:00
Wilfred Hughes 79ba1be877 Add TODOs for file extensions 2021-11-24 23:56:29 +07:00
Wilfred Hughes fa17058f80 Bump libc version 2021-11-24 23:55:16 +07:00
Wilfred Hughes de56eabe94 Add support for bash syntax 2021-11-24 23:53:21 +07:00
Wilfred Hughes 678c1c5773 Add 'vendor/tree-sitter-bash/' from commit '4094e3a0405aabb1314c0c41f29e38e70af86fa5'
git-subtree-dir: vendor/tree-sitter-bash
git-subtree-mainline: 7d1bf1e5f4
git-subtree-split: 4094e3a040
2021-11-24 23:33:05 +07:00
Wilfred Hughes 7d1bf1e5f4 Update to latest tree-sitter 2021-11-24 23:29:41 +07:00
Wilfred Hughes c75469b299 Clarify wording 2021-11-23 22:40:23 +07:00