DuScriptThe purpose of creating this language was an experiment to find out their strength. The peculiarity of this language is the modules unlimited by syntax.8 min read·duscript.hashnode.devApr 9, 2023
Door.jsonTo run several files and connect between them, when specifying the src, you do not need to specify the path to the desired file, but you need to specify the path to the folder with the files and at the end you must add "/" and the specified folder sh...4 min read·duscript.hashnode.devApr 9, 2023
declare in the DuScriptdeclare declare - used to create functions splitting occurs through "*^". declare [declare-type] [name] { [body]*^ } Sample: declare function test { printl (1)*^ }; call function test; Will: 1 // // - used to create comments after the comm...1 min read·duscript.hashnode.devApr 9, 2023
while in the DuScriptwhile while - a loop that checks the condition before each execution, and line breaking occurs through "&^" in the if block there cannot be a cycle, but in the while loop, the if block can be and if there is an if block in the while, line breaking oc...1 min read·duscript.hashnode.devApr 9, 2023
if in the DuScriptif if - from the name it is clear Splitting lines inside the "if" block is carried out through the symbol "^" Space before () is required if ([condition]) { [body]^ }; Sample: approve msg = Int 1; if (@msg==1) { call variable v msg^ }; Wil...1 min read·duscript.hashnode.devApr 9, 2023