aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
AgeCommit message (Expand)Author
2018-11-22Add licenseTeddy Wing
2018-11-05map_group(): Fix error when mappings start with comment or whitespaceTeddy Wing
2018-11-05parser: Add tests for initial whitespace and comments in mappings fileTeddy Wing
2018-11-03parser: Add tests for error messageTeddy Wing
2018-11-03parser: Remove debug print statementTeddy Wing
2018-11-03map_group_shows_error_in_middle_of_line: Add unexpected token assertionTeddy Wing
2018-11-03parser::definitions(): Move `try()` calls to map_kind parsersTeddy Wing
2018-11-03map_group_shows_error_in_middle_of_line: Fix column numberTeddy Wing
2018-11-03map_group_shows_error_in_middle_of_line: Remove errors vecTeddy Wing
2018-11-03parser::mode(): Add a descriptive error message for missing closing `}`Teddy Wing
2018-11-03parser: Remove unnecessary `expected` definition in testTeddy Wing
2018-11-03parser::mode(): Remove comment about verifying '}'Teddy Wing
2018-11-03parser: Add a failing test for parse errors in the middle of linesTeddy Wing
2018-11-03parser: Remove `map_kind()` parserTeddy Wing
2018-11-03parser: Remove `MapAction::parse()` etc. code from second parser passTeddy Wing
2018-11-03parser: Parse `Action::Map`s at the same time as everything elseTeddy Wing
2018-11-02MapAction::parse(): Try to return a `Result` (WIP)Teddy Wing
2018-11-01parser::map_group(): Always parse to end of inputTeddy Wing
2018-11-01parser: Reuse `SourcePosition` importTeddy Wing
2018-11-01parser: Restore `Map` structTeddy Wing
2018-11-01map_group(): Parse input full of `blank()` to `MapGroup` defaultTeddy Wing
2018-11-01parser: Parsing an empty string gives a default `MapGroup`Teddy Wing
2018-11-01parser: Propagate errors to the root parserTeddy Wing
2018-11-01parser: Change `Map` to a tuple type aliasTeddy Wing
2018-10-30parser::key_code(): Remove old commented codeTeddy Wing
2018-10-30parser::map_group(): Use default `MapGroup` as a baseTeddy Wing
2018-10-30If no 'mappings.dkmap' file is found, use default mappingsTeddy Wing
2018-10-29KeyboardKeyWithModifiers.tap(): Remove old commented codeTeddy Wing
2018-10-28MapAction::parse(): Use `error!` instead of `dkeprintln!` to log errorTeddy Wing
2018-10-28MapAction::parse(): Log error instead of unwrappingTeddy Wing
2018-10-28MapGroup: Move `parse_action()` to `MapAction`Teddy Wing
2018-10-28MapGroup::parse_action(): Accept `MapKind::Command` variant handlerTeddy Wing
2018-10-28parser: Remove old commented `Action` typeTeddy Wing
2018-10-27parser: Make `KeyboardKey` privateTeddy Wing
2018-10-27Action: Remove `Action::Command` variantTeddy Wing
2018-10-27Remove `Action` implTeddy Wing
2018-10-27Delete unused importsTeddy Wing
2018-10-18Add a `<Nop>` pseudo-keyTeddy Wing
2018-10-18parser: Add a basic test for `NXKey` parsingTeddy Wing
2018-10-18Parse `NXKey`sTeddy Wing
2018-10-18Add `NXKey` to `KeyboardKeyWithModifiers`Teddy Wing
2018-10-03Remove `action_parses_command_to_vec_of_words()` testTeddy Wing
2018-10-03parse_actions(): Parse `Action::Map` for mode mapsTeddy Wing
2018-10-03Remove old code from 52398f0c8507fdb5fe4a680bbbb841232b396ae7Teddy Wing
2018-10-03run_key_action_for_mode(): Tap keys using `KeyboardKeyWithModifiers`Teddy Wing
2018-10-03KeyboardKeyWithModifiers: Remove `Option` from `flags` fieldTeddy Wing
2018-10-03Clean up old code from 48fcb96befe65ca30bfd91f4194afb9e99258f4aTeddy Wing
2018-10-02Re-parse map `Action::String`s to `Action::Map`s (WIP)Teddy Wing
2018-10-01Revert "Add <Bslash> and <lt> escapes for action (WIP)"Teddy Wing
2018-10-01Add <Bslash> and <lt> escapes for action (WIP)Teddy Wing