~emersion/mrsh

ref: job-control mrsh/parser d---------
783dd27a — Pavel Shlyak 2 years ago
Fix typo

https://github.com/emersion/mrsh/issues/73 part 2
parser: fix io_number

Fixes https://github.com/emersion/mrsh/issues/64
Fix continuation lines in interactive mode
parser: add mrsh_parser_from_buffer

This allows the user to share a buffer with the parser. This is especially
useful when managing manually how input lines are read (e.g. for interactive
shells). Before each mrsh_parse_line call, the user can fill the shared buffer
with the (maybe incomplete) input.

Fixes https://github.com/emersion/mrsh/issues/59
Move away from FILE

Fixes https://github.com/emersion/mrsh/issues/58
parser: finish arithmetic expression parser
parser: add a few binary arithmetic operations
parser: parse arithmetic unop and parens
parser: parse arithmetic literals
ast: arithmetic parsing comes after expansion
Parse mrsh_arithm_token
parser: fix memory leak on pipeline error
2ba02ed4 — delthas 2 years ago
fix: segfault on empty variable assignment (fix #44)
Make buffer public
parser: call parser_begin in mrsh_parse_word
parser: add mrsh_parser_continuation_line
Make mrsh_parse_line return an empty program on empty line
Prevent one kind of infinite alias substitution
highlight: add support for more keywords and operators
ast: introduce mrsh_range
Next