suneido-language
Reference for Suneido language syntax and semantics
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reference for Suneido language syntax and semantics
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| 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