Eas (Easy Application Script) by Molaskes

Syntax Overview:01. Characters Use

&ampersandcall param omissions: fname:val1 & val3
*asteriskmultiplication: a*b bitwise and: a.*b
@at-signsimple loops: @ iterations range-loops: @ from .. to while-loops: @? condition..limit until-loop blocks: @ actions / stop-condition..limit foreach-loops: @@ varname simple-loop counter: @ range-loop position: @ while-loop iteration: @ until-loop iteration: @ foreach-loop value: @ foreach-loop key: @@
\backslashmodulo: a\b else-blocks: \ else-values: if??then-value\\else-value elif conditions: \ condition escaping in strings: \" (double quote) \\ (backslash) \; (semicolon) special chars in strings: \n (line break, newline) \t (tabulation, tab) \r (carriage return) \0 (code %00 char)
^circumflexpower: a^b root: a^/b
:colonfunction calls: fname:parameters function declarations: fname parameters: vector keys: key:value
,commalogical and: a,b
{ }curly bracesblock comments: {comment}
0-9digitsdecimal numbers: -12'345.678 decimal exponents: 5E6 (5 million) hexadecimal numbers: %[0-9A-F]+ identifier names: [a-zA-Z][a-zA-Z0-9_']*
"double quotestrings: "some text" double-quote in strings: "" double quote in strings: \"
=equal signequality checks: a=b less-or-equal checks: a<=b greater-or-equal checks: a>=b
!exclamation markprogram main body start: ! event handlers: ! ename parameterless function calls: fname!
>greater-than signgreater-than checks: a>b greater-or-equal checks: a>=b loop breaks: >/ loop continues: >> conditional continues: ? condition >>
#hash signinequality checks: a#b bitwise xor: a.#b
A-Z a-zlettersidentifier names: [a-zA-Z][a-zA-Z0-9_']* (all-uppercase is reserved for system names) hexadecimal numbers: %[0-9A-F]+ decimal exponent: \d+E\d+
<less-than signless-than checks: a<b less-or-equal checks: a<=b empty function returns: << function result returns: << result conditional empty returns: ? condition << conditional result returns: ? condition << result
%0A (10)
line breakseparating code lines ending line-comments improving readability: blank lines
-minus dashnegative numbers: -123 subtraction: a-b end-of-line comments: -- comment
( )parenthesesgrouping terms: (a+b)*c vectors: (1 2 3)
%percent signhexadcimal numbers: %D2FA31
|pipelogical xor: a|b logical xor: a||b
+plus signaddition: a+b bitwise or: a.+b
.pointdecimal points: 0.25 array elements: a.key append to arrays: a.. value range-loops: @ from .. to while-loop limits: @?while..limit until-loop limits: /until..limit bitwise operations: .* (and) .+ (or) .# (xor) ./ (clear)
?question markget setness: varname? get string length: strname? get array length: arrayname? unsetting variables: varname ? if-conditions: ? condition conditional breaks: ? condition >/ conditional continues: ? condition >> conditional empty returns: ? condition << conditional result returns: ? condition << result while-loop conditions: @? run-condition .. limit condition lists resets: a#b,?c ternary operator: if??then-value\\else-value
;semicolonchaining strings: a;b variables in strings: ;varname arrays in strings: ;array.sub.key escaping in strings: ;;novarname semicolon in strings: \;
'single quotenumbers grouping: 12'345'678 identifier names: [a-zA-Z][a-zA-Z0-9_']*
/slashdivison: a/b integer division: a//b root: a^/b clearing flags: a./b string line breaks: / (attached to some "...") string blank lines: // /// //// ... (attached to some "...") block ends: / until-loop block-ends: / stop-condition..limit loop breaks: >/ conditional breaks: ? condition >/
%20 (32)
spacesetting variables: varname value vectors: (1 2 3) separating call parameters: value1 value2 separating parameters in function declarations: param1 param2 parameter defaults: paramname defaultval indentation: block bodies should be indented by two spaces improving readability: anywhere but within identifiers, numbers, arrays or H‌ Two-Chars
[ ]square bracketsvariable variables: [term] pointers: [pointer] variable array keys: array[key] string chars: string[charpos]
~tilderounding: a~b
_underscoreglobal variables: _varname identifier names: [a-zA-Z][a-zA-Z0-9_']*
A-Fuppercase A-Fhexadecimal numbers: %[0-9A-F]+ identifier names: [a-zA-Z][a-zA-Z0-9_']*
Euppercase Edecimal exponents: 5E6 (5 million) identifier names: [a-zA-Z][a-zA-Z0-9_']* hexadecimal numbers: %[0-9A-F]+
Preceding Page:
← Syntax Overview
Next Page:
Two-Chars →
D Download Eas 4B
C Contact
Esc Search / Table of Contents