$
was matching whitespacesgrape.core/count-subtrees
and grape.core/count-codes
grape
is run on multiple files-v
/--version
to the command-line-c
/--count
to show the total matches count-F
/--no-filenames
to hide the matching filenames-u
/--unindent
to un-indent the matches-r
/--recursive
: it’s always recursive nowgrape.core
into grape.impl.models
, grape.impl.match
and grape.impl.parsing
This release bumps Parsera. It’s now based on Antlr4 rather than Instaparse. This changes a few things:
The match metadata’s format changes:
;; Before
{:start-column 1, :end-column 10
:start-line 1, :end-line 1
:start-index 0, :end-index 9}
;; After
{:start {:row 1 :column 1}
:end {:row 0 :column 9}}
Some typed wildcards change: $simple-keyword
is now $keyword
and $function
is now $fn
.
This release also includes a first GraalVM-based standalone binary. Thanks to both GraalVM and the new Parcera
implementation, grape
is tremendously faster: on my machine, searching for (map $ $ $)
in grape’s own
source code takes ~2s with the v0.2.0 and ~0.06s with the v0.3.0.
Initial release.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close