Fork me on GitHub
#tree-sitter
<
2020-10-07
>
sogaiu08:10:42

have succeeded in adding at least initial implementations of property-based testing for each of the 30 or so exposed grammatical constructs of tree-sitter-clojure. this includes some support for testing different sorts of separators (e.g. comments, discard expressions, and whitespace) between things that are not separators (e.g. symbols, lists, etc.). the grammar has been modified some number of times as a result of the testing efforts for the better afaict. it is now a bit more performant as well as easier to understand. hopefully filling out the rest of the testing won't take too much time / effort. there is still https://github.com/sogaiu/tree-sitter-clojure/issues/5 and https://github.com/sogaiu/tree-sitter-clojure/issues/6 to consider as well.