suneido-language
Reference for Suneido language syntax and semantics
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Reference for Suneido language syntax and semantics
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | suneido-language |
| description | Reference for Suneido language syntax and semantics |
For more detailed information see the documentation in the suneidoc folder. The standard library source code is in the stdlib folder.
Uncapitalized name are local variables. Capitalized names are global and are only defined in library tables like stdlib. Global name values are constants.
Expressions:
is, isnt, and, or, not instead of ==, !=, &&, ||, !=~ and !~?: ternary operator"Object" is the general purpose container
#(a,b,c)[0] is 'a'Object(1, 2, a: 3, b: 4)anonymous function: function(parameters) { ... }
closure: {|parameters| ... }
return returns from the containing function, not just the closurefunction and closure parameters:
function(a, b, c = 1, d = 2)@var to receive all the arguments into an objectcall arguments:
fn(a, b, c: 3, d: 4):var is shorthand for var: var@object to pass the contents of object as separate argumentscontrol statements: if-else, while, do-while, for, switch
try-catch: try catch (var, prefix) statement
classes:
class : Base
{
X: 123
Add(x) { return x + .X}
}
: Base is optionalclass : Base can be abbreviated to just BaseCallClass methodCallClass that creates an instanceCall method to make instances callableNew method constructorNew methods can call super to specify the arguments.name is shorthand for this.name