Gold-Language – Version 1.02; Out Now!

Wanting To Check out the Language? Go here – Gold

Forenote

As you know from yesterdays post, Gold just had an gigantic update! So I thought to myself this morning – How about I take it off today, and just roll out an very basic update?

So,…


This content originally appeared on DEV Community and was authored by Colack

Wanting To Check out the Language? Go here - Gold

Forenote

As you know from yesterdays post, Gold just had an gigantic update! So I thought to myself this morning - How about I take it off today, and just roll out an very basic update?

So, that's exactly what I did.

New Update

Gold Version 1.02, or The File End Update, is just an small update adding some basic changes.

Your old .gold files will no longer work with this new version of the Gold Programming language, meaning that you will need to update or convert your code to this new version.

Your files need the ending function end for your program to work. This means that your Hello World! Program will look something like this:

// Built for Reg Interpreter.

var myGoldProgram = {
    name: "Example Gold Program",
    des: "An Example Gold Program for the README file.",
    int: "regInt",
    ex: [
        {
            fun: "log",
            val1: "Hello World!"
        },
        {
            fun: "end"
        }
    ]
};

export { myGoldProgram };

New Interpreter; English Interpreter

Oh yeah, there is also an new interpreter in town, the English Interpreter!

This interpreter is just basically an re-write of the Original Interpreter, with an more Language-Friendly feel. That means your functions would look something like this now:


execute // add, sub, mul, div, if, log, var, logVar   
saveToVariable // true/false   
value1   
value2   
variableSlot    
ifStatementType // =, >, <, !    
logIfValueTrue   
logIfValueFalse    
endProgram // ALWAYS END YOUR PROGRAM WITH THIS!!!!   

Finalizing

Anyway, that just about wraps up the new Update.

You can always check out the Language Here.

Wanting To Contact Me? Join my Discord Server - Discord


This content originally appeared on DEV Community and was authored by Colack


Print Share Comment Cite Upload Translate Updates
APA

Colack | Sciencx (2022-04-05T04:06:20+00:00) Gold-Language – Version 1.02; Out Now!. Retrieved from https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/

MLA
" » Gold-Language – Version 1.02; Out Now!." Colack | Sciencx - Tuesday April 5, 2022, https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/
HARVARD
Colack | Sciencx Tuesday April 5, 2022 » Gold-Language – Version 1.02; Out Now!., viewed ,<https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/>
VANCOUVER
Colack | Sciencx - » Gold-Language – Version 1.02; Out Now!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/
CHICAGO
" » Gold-Language – Version 1.02; Out Now!." Colack | Sciencx - Accessed . https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/
IEEE
" » Gold-Language – Version 1.02; Out Now!." Colack | Sciencx [Online]. Available: https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/. [Accessed: ]
rf:citation
» Gold-Language – Version 1.02; Out Now! | Colack | Sciencx | https://www.scien.cx/2022/04/05/gold-language-version-1-02-out-now/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.