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

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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.