Skip to content
Snippets Groups Projects
Forked from redox-os / ion
136 commits behind the upstream repository.
AdminXVII's avatar
AdminXVII authored
- Disable the regex's unicode feature by default
- Add a feature to Ion to enable it again
- Update the dependencies

Breaking Change: Perl-style character class are disabled (\w _et al._) and
there is no longer unicode support by default.
d91f3c05
History
Name Last commit Last update
..
advanced
script_exec
README.md
alias.ion
alias.out
array_assignments.ion
array_assignments.out
array_methods.ion
array_methods.out
array_ops.ion
array_ops.out
arrays.ion
arrays.out
arrays_with_braces.ion
arrays_with_braces.out
basic_condition.ion
basic_condition.out
braces.ion
braces.out
break.ion
break.out
builtin_piping.ion
builtin_piping.out
check.out
check.params
color_test.ion
color_test.out
command-substitutions.ion
command-substitutions.out
command.out
command.params
comments.ion
comments.out
conditionals.ion
conditionals.out
continue.ion
continue.out
else_if.ion
else_if.out
empty_loop_test.ion
empty_loop_test.out
exists.ion
exists.out
fail.ion
fail.out
fibonacci.ion
fibonacci.out
fibonacci.sh
fn-root-vars.ion
fn-root-vars.out
fn.ion
fn.out
for.ion
for.out
function_piping.ion
function_piping.out
glob.ion
glob.out
help.out
help.params
herestring.ion
herestring.out
if_with_builtins.ion
if_with_builtins.out
inner_expansions.ion
inner_expansions.out
inplace_ops.ion
inplace_ops.out
issues.ion
issues.out
let.ion
let.out
maps.ion
maps.out
match.ion
match.out
methods.ion
methods.out
multiline-arrays.ion
multiline-arrays.out
multiple-lines.ion
multiple-lines.out
nested_conditions.ion
nested_conditions.out
nested_for.ion
nested_for.out
not.ion
not.out
optional_assignment.ion
optional_assignment.out
pipelines.ion
pipelines.out
quotes.ion
quotes.out
return.ion
return.out
run_benches
run_examples.sh
scopes-2.ion
scopes-2.out

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.