ion merge requestshttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests2018-06-10T02:35:32Zhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/679Use arg_parser2018-06-10T02:35:32ZMichael Aaron Murphymmstick@pm.meUse arg_parser*Created by: jD91mZM2*
*Created by: jD91mZM2*
https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/714Alias reimplementation #7112018-06-10T02:36:12ZMichael Aaron Murphymmstick@pm.meAlias reimplementation #711*Created by: ishanjain28*
Alias Reimplementation as discussed in #711
**Changes introduced by this pull request**:
- Removed Math Expressions parser from `parse_alias`.
- Alias reimplemented as a keyword exactly like `let` or `...*Created by: ishanjain28*
Alias Reimplementation as discussed in #711
**Changes introduced by this pull request**:
- Removed Math Expressions parser from `parse_alias`.
- Alias reimplemented as a keyword exactly like `let` or `export`.
**Drawbacks**:
I have made an assumption in my code that might be considered a drawback.
The assumption is that, Any value stored in `alias` will always resolve to a `Statement::Pipeline`, I don't know what should be the appropriate behaviour if it does not resolves to a `Statement::Pipeline`, So, It silently ignores that `PipeItem`.
**TODOs**:
- Tests(I'll add those if and once this PR is approved)
**Fixes**:
#711
**State**:
WIP, Everything except for the tests is done.
https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/754Adding `prompt` builtin for selecting or customizing the Ion prompt2018-06-10T04:00:00ZMichael Aaron Murphymmstick@pm.meAdding `prompt` builtin for selecting or customizing the Ion prompt*Created by: stratact*
This PR is **work-in-progress** and of need in guidance to get things working together as a builtin.*Created by: stratact*
This PR is **work-in-progress** and of need in guidance to get things working together as a builtin.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/774Have all globbing occur after doing brace expansions (Fixes #664)2018-06-10T04:33:11ZMichael Aaron Murphymmstick@pm.meHave all globbing occur after doing brace expansions (Fixes #664)*Created by: stratact*
@mmstick got any unit and integration tests suggestions? :smile_cat: *Created by: stratact*
@mmstick got any unit and integration tests suggestions? :smile_cat: https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/775Have `WordIterator` not split escape characters (Fixes #437)2018-06-10T04:33:19ZMichael Aaron Murphymmstick@pm.meHave `WordIterator` not split escape characters (Fixes #437)*Created by: stratact*
Although this solves the problem, it fails a variety amount of integration tests, which probably need to be updated for this different logic. I would like some guidance on how to fix them first.
Closes #437 *Created by: stratact*
Although this solves the problem, it fails a variety amount of integration tests, which probably need to be updated for this different logic. I would like some guidance on how to fix them first.
Closes #437 https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/791WIP: Ion Specification2018-06-15T13:55:25ZMichael Aaron Murphymmstick@pm.meWIP: Ion SpecificationFor all whom are willing to contribute to documenting the Ion specification, please step forward. This is going to take a while...For all whom are willing to contribute to documenting the Ion specification, please step forward. This is going to take a while...https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/813WIP: Separate sys module into ion_sys workspace member2018-06-21T22:28:32Zstratactstratact1@gmail.comWIP: Separate sys module into ion_sys workspace memberCloses #783Closes #783https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/824WIP: Removing env ion for run_benches2018-06-24T21:18:19ZNick PaladinoWIP: Removing env ion for run_benchesenv ion shoudn't workenv ion shoudn't workhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/782Add `prompt` builtin utility for selecting or customizing the Ion prompt2018-07-07T16:04:47Zstratactstratact1@gmail.comAdd `prompt` builtin utility for selecting or customizing the Ion prompthttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/864Avoid writing prompt for multi-line input #8012018-10-20T18:18:08ZGrant CookseyAvoid writing prompt for multi-line input #801# Overview
There was a bug where the shell prompt was being written during multi-line input during interactive shell sessions.
# Solution
Stop printing the shell prompt when quotes are open and instead print `quote> `.
# Notes
I'm n...# Overview
There was a bug where the shell prompt was being written during multi-line input during interactive shell sessions.
# Solution
Stop printing the shell prompt when quotes are open and instead print `quote> `.
# Notes
I'm not sure is there is a good way to add some tests around this since it only applies to interactive shell sessions. If anyone has an idea of how to do this, I'll be happy to add some.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/886trim_right => trim_end, trim_left => trim_start2019-01-16T10:59:47ZTa Thanh Dinhtrim_right => trim_end, trim_left => trim_startHello all,
This is just a trivial fix for deprecated trim methods:
- `trim_right` => `trim_end`
- `trim_left` => `trim_start`
Many thanks for comments.Hello all,
This is just a trivial fix for deprecated trim methods:
- `trim_right` => `trim_end`
- `trim_left` => `trim_start`
Many thanks for comments.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/896Use CLAP library for argument parsing2019-02-15T04:08:28ZAdminXVIIUse CLAP library for argument parsingUse the specialized CLAP library for argument parsing rather than a hand rolled one. It streamlines the CLI format while handling most of the edge cases for us as well as adding color and suggestions.
It also allows future improvement at...Use the specialized CLAP library for argument parsing rather than a hand rolled one. It streamlines the CLI format while handling most of the edge cases for us as well as adding color and suggestions.
It also allows future improvement at a lower cost and improves the separation between the scripting engine and the frontend used to call it.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/914:hammer: :boom: Refactor and prepare work for multi dimensional arrays2019-03-10T19:49:15Zstratactstratact1@gmail.com:hammer: :boom: Refactor and prepare work for multi dimensional arraysSome refactor and clean up, which will prepare us for getting multi dimensional arrays to work.Some refactor and clean up, which will prepare us for getting multi dimensional arrays to work.https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/924Refactor range parsing to remove returns and reduce nesting2019-03-15T16:32:14ZAdminXVIIRefactor range parsing to remove returns and reduce nestinghttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/918WIP: Multi dimensional arrays support and massive refactoring2019-03-15T18:15:11Zstratactstratact1@gmail.comWIP: Multi dimensional arrays support and massive refactoring* `VariableType` is now `Value`
* `Primitive` and `Key` are now merged as a `Key` enum* `VariableType` is now `Value`
* `Primitive` and `Key` are now merged as a `Key` enumhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/927MD Array Roadmap Step 1: Combine Key and Primitive2019-03-17T02:03:57Zstratactstratact1@gmail.comMD Array Roadmap Step 1: Combine Key and Primitivehttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/935Support distro building for systems with Rust 1.31 or higher2019-03-20T22:33:22Zstratactstratact1@gmail.comSupport distro building for systems with Rust 1.31 or higherhttps://gitlab.redox-os.org/redox-os/ion/-/merge_requests/899Use `getopts` library for argument parsing2019-03-26T21:31:52ZAdminXVIIUse `getopts` library for argument parsingUse the specialized `getopts` library for argument parsing rather than a hand rolled one. It streamlines the CLI format and handles the edge cases for us.
It also allows future improvement at a lower cost and improves the separation betw...Use the specialized `getopts` library for argument parsing rather than a hand rolled one. It streamlines the CLI format and handles the edge cases for us.
It also allows future improvement at a lower cost and improves the separation between the scripting engine and the frontend used to call it.
This increase the binary by only 0.9%, as opposed to CLAP's 12%
Related: https://gitlab.redox-os.org/redox-os/ion/merge_requests/896https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/981replace stdout with stderr,line 102019-04-23T11:09:42Zalaskacanyonreplace stdout with stderr,line 10https://gitlab.redox-os.org/redox-os/ion/-/merge_requests/1051Move ranges from a member to expansion2019-06-18T15:58:39ZAdminXVIIMove ranges from a member to expansion