Jan Philipp Hafer c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license 3 лет назад
..
advanced 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
script_exec d91f3c05fc feat: Disable unicode support by default + update deps 4 лет назад
README.md 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 3 лет назад
alias.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
alias.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
arithmetic_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
arithmetic_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
array_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 3 лет назад
array_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 3 лет назад
array_test.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
array_test.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
array_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
array_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
arrays_with_braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
arrays_with_braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
basic_condition.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
basic_condition.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
brace_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
brace_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
break.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
break.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
builtin_piping.ion d91f3c05fc feat: Disable unicode support by default + update deps 4 лет назад
builtin_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
builtin_set.ion 935811eafd Fix set and status argument handling 4 лет назад
builtin_set.out 935811eafd Fix set and status argument handling 4 лет назад
builtin_status.ion 935811eafd Fix set and status argument handling 4 лет назад
builtin_status.out 935811eafd Fix set and status argument handling 4 лет назад
check.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
check.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
cmdfile_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
cmdfile_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
color_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
color_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
command-substitutions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
command-substitutions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
command.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
command.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
comments.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
comments.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
conditionals.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
conditionals.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
continue.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
continue.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
else_if.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
else_if.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
empty_loop_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
empty_loop_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
exists.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
exists.out 9057751f9b Apply clippy in pedantic mode 5 лет назад
fail.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fail.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fibonacci.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fibonacci.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fibonacci.sh 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fn-root-vars.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fn-root-vars.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
fn.ion 56b83c2ee4 improv!: Rename calc builtin to math to avoid conflict with GNU 4 лет назад
fn.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
function_piping.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
function_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
glob.ion 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
glob.out c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license 3 лет назад
help.out e8e9b0fde0 fix: Update location of tests script in CONTRIBUTING.md. Add missing period to help.out. 4 лет назад
help.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
herestring.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
herestring.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
if_with_builtins.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
if_with_builtins.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
inner_expansions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
inner_expansions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
inplace_ops.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
inplace_ops.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
issues.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
issues.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
keybinding_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
keybinding_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
let.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
let.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
map_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
map_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
match.ion 02cba084dc lib/shell/flow: change match expressions to match based on regex 4 лет назад
match.out 02cba084dc lib/shell/flow: change match expressions to match based on regex 4 лет назад
methods.ion 5d7052abb2 fix(string methods): Remove methods than expand to 0/1 4 лет назад
methods.out 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
multiarg_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
multiarg_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 3 лет назад
multiline-arrays.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
multiline-arrays.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
multiple-lines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
multiple-lines.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
nested_conditions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
nested_conditions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
nested_for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
nested_for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
not.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
not.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
optional_assignment.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
optional_assignment.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
pipelines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
pipelines.out a25b4d0875 feat!: Use non-forking subshells 4 лет назад
process_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
process_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
quotes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
quotes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
return.ion e3f7f06330 feat: Add the return keyword for returning codes from functions 4 лет назад
return.out e3f7f06330 feat: Add the return keyword for returning codes from functions 4 лет назад
run_benches 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
run_examples.sh c191d8c26b fix(CLI): delete structopt due to no advantage(conflict resolution) 3 лет назад
scopes-2.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes-2.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes-3.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes-3.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes-4.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes-4.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output 5 лет назад
scopes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
scopes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
script_exec.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
script_exec.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output 5 лет назад
square_brackets.ion 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
square_brackets.out 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
string_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 3 лет назад
string_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 3 лет назад
string_vars.ion 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example 3 лет назад
string_vars.out 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example 3 лет назад
strings.ion 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
strings.out 843f59eff1 fix: Improved parsing and handling of backslashes 4 лет назад
unicode.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
unicode.out cdcb65dc84 chore: cargo fmt and bless ui test 4 лет назад
variable_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
variable_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 3 лет назад
variables.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
variables.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 3 лет назад
while.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад
while.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 лет назад

README.md

Changing tests

This tests are also used to generate the manual. Please make sure to update the manual, if you change tests.

Examples

The files in this directory are simple example scripts that are used to test the state of the shell as it is developed. When the run_examples.sh script is executed, it will build Ion and execute each of the ion scripts here, and compare their outputs to their assoicated out files.

TOOLCHAIN=stable ./run_examples.sh

For more elaborate examples of Ion usage, check out the advanced directory.