-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Surge edited this page Jul 14, 2025
·
2 revisions
Welcome to the (barebones) Aegis wiki!
Aegis strives to be a crossplatform shell with a modern (non-posix) syntax. This wiki will be updated every time a new piece of syntax is added.
Anything starting with a character will be interpreted as a word. Words make up commands, functions, variables. If a word is not a function or a variable it is interpreted as a shell command:
A> echo test
< test
A> git status
< On branch main...0 - Int (64 bit)
0.0 - Float (64 bit)
"foo" - Strings
true - BoolsThe type of a variable is inferred by the value.
let foo = 12;
A> let bar = "abc";If Statements
if expr {
body;
}
if expr {
body;
} elif expr {
body;
} else {
body;
}
A> if true {
echo bar;
}
< barWhile Loop
while expr {
body;
}
A> while true {
echo foo;
}
< foo
foo
foo
...Math
1 * 2 + 0.3 - (200 + 2)
A> 1 * 2 + 0.3 - (200 + 2)
< -199.7A> let test = 5;
while test {
test = test - 1;
echo a;
}
< a
a
a
a
a