libdash icon indicating copy to clipboard operation
libdash copied to clipboard

The dash shell as a linkable library. Tracks https://git.kernel.org/pub/scm/utils/dash/dash.git, with extended interfaces, bindings for Python and OCaml, and tools for generating JSON representations...

Results 12 libdash issues
Sort by recently updated
recently updated
newest added

libdash, by default, uses dash expansion prints the `PS1` and `PS2` in the dash prompt. This behavior is wrong (and possibly dangerous, depending on the use case). We should make...

enhancement

Accept shell scripts as POST, return JSON. Should be super simple, à la `python -m http.server`.

enhancement
good first issue

Parsing and unparsing have super-linear runtime, largely because OCaml list append and string concatenation are not optimized. ### Parsing: **parse_tilde** quadratic (/cubic?) behavior ``` for n in 1000 2000 4000...

enhancement

Bring forward the fix to pretty printing in ac328aa.

bug
good first issue

Right now ast.ml and shim.ml in smoosh are out of sync. It'd be great if there were only one copy of the code that converts dash's data structures to OCaml...

enhancement
smoosh

It would be good to document the AST clearly/well.

enhancement
good first issue

It has been tremendously painful working with ctypes: it's been hard to get things to work locally, nevermind in CI. Each OPAM version bump burns a day debugging linking issues....

enhancement

See `test/failing/backslash` or `test/failing/aaaa_single` (which comes from @tucak's original bug report's reproducer (mgree/smoosh#5) for the bug resolved in #1). The problem is, depending on your perspective, in backslash insertion or...

bug

- [x] Update to upstream - [ ] Fix CI scripts to avoid flakiness (??) - [x] Fix ocaml bindings #29

pash

Describes the last missing part of https://github.com/binpash/pash/issues/671. Since shasta is now its own library, we need to make the following changes in libdash: - Import shasta - Return proper python...