Commit 303310cb authored by Martin Sehnoutka's avatar Martin Sehnoutka
Browse files

WIP Ion section

parent f1e2cda8
......@@ -81,11 +81,6 @@
- [Extras]()
- [OrbTK]()
- [Orbutils]()
- [Ion]()
- [What Ion is]()
- [The design of Ion]()
- [The syntax]()
- [How it differs from Bash]()
- [Oxide]()
- [Decentral]()
- [Cryptography]()
......@@ -108,6 +103,11 @@
- [Porting a program]()
- [Remove dependencies]()
- [Cross-compiling]()
- [Ion](./userspace/ion/ion.md)
- [What Ion is](./userspace/ion/what_ion_is.md)
- [The design of Ion]()
- [The syntax](./userspace/ion/the_syntax.md)
- [How it differs from Bash]()
-------------------------------------------------------------------------------
......
# Ion shell
Ion is the underlying library for shells and command execution in Redox, as well as the default shell.
# Syntax
How to describe it, formally or using examples?
```
if a == a
echo true a == a
if b != b
echo true b != b
else
echo false b != b
if 3 > 2
echo "true 3 > 2"
else
echo "false 3 > 2"
end
end
else
echo false a == a
end
```
# What Ion is?
## Default shell in Redox
### What shell is?
A shell is a layer around operating system kernel a libraries, that allows users to interact with operating system. Shells can either be graphical (GUI) or command-line (CLI).
### Text shells
Repl, fancy features
### Relation to terminals
<!---
Sources:
https://en.wikipedia.org/wiki/Shell_(computing)
http://unix.stackexchange.com/questions/4126/what-is-the-exact-difference-between-a-terminal-a-shell-a-tty-and-a-con
-->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment