Move `export` into the grammar (#306)
* Move `export` from builtin to grammar * Refactor common parts of `let` and `export` logic * `export` now prints `env`
Showing
- src/builtins/mod.rs 1 addition, 10 deletionssrc/builtins/mod.rs
- src/builtins/variables.rs 0 additions, 53 deletionssrc/builtins/variables.rs
- src/parser/grammar.rustpeg 7 additions, 0 deletionssrc/parser/grammar.rustpeg
- src/shell/assignments.rs 85 additions, 104 deletionssrc/shell/assignments.rs
- src/shell/flow.rs 10 additions, 1 deletionsrc/shell/flow.rs
- src/shell/flow_control.rs 1 addition, 0 deletionssrc/shell/flow_control.rs
Loading
Please register or sign in to comment