Age | Commit message (Collapse) | Author |
|
Prototype of the `review` command, cf. `anissue review -h`. Also adds
the `status` command.
|
|
|
|
This replaces the tree-sitter bindings with a call to a single C
function that traverses the AST.
We expect the query API to be slower than manually traversing the tree
for this particular use case.
This will be addressed in an upcoming commit.
@prerequisite-for add-languages-elm-shell-nix
|
|
Drop haskell-tree-sitter in favor of custom bindings to tree-sitter.
haskell-tree-sitter is outdated and seems unmaintained.
The implementation add low-level bindings to tree-sitter and traverses
the AST in Haskell.
We suspect that many FFI calls are more expensive than performing just a
single API call to a C function that does the traversal.
This will be addressed in upcoming commits.
@prerequisite-for add-languages-elm-shell-nix
|
|
|
|
|
|
|
|
Example:
```
anissue list --filter '@title /foo/'
```
|
|
|
|
Regresses in that we only support Haskell for now, as Elm, Nix or Bash
are not available as tree-sitter-* Haskell packages.
|
|
|
|
Initial cache generation is slower, as we are losing out on parallelism.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We interpret the following types:
- ISO8601-formatted strings as dates,
- integer-formatted strings as integers,
- all other strings as strings.
If the filter value matches a format, it is cast into the respective
data type. For comparison-based filtering, the tag's value is then cast
into the same data type and comparison is performed type-aware. If the
tag's value is not castable, we consider it not matching.
|
|
The following filter expressions are now additionally valid:
```
--filter @tag <=VALUE
--filter @tag <VALUE
--filter @tag >=VALUE
--filter @tag >VALUE
```
Note that negation needs some re-work. Currently, only `--filter !@tag
<VALUE` is valid, and `--filter @tag !<VALUE` is not. The first version
may not behave as you would expect it.
A tracking issue has been created.
Note that without typing tag values, all comparisons perform
lexicographically on `String`s.
|
|
The underlying problem had been truncating `String` to `ByteString` (via
`IsString(fromString))`, which is unsafe.
|
|
|
|
|
|
|
|
|
|
Adds type-trickery akin to `Text.printf` to provide
- (1) an abstraction over `fromString (printf ".." ..)` for
`ProcessConfig`s,
- (2) have arguments be quoted automatically.
As string is the only argument type that Shell knows, the formatting
character is simply "%".
|
|
Ditches `ghci` in favor of `cabal repl`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|