LEARN MY LANGUAGE NOW!
[deleted]

Hello Everyone!, it's Zuhdi!

Today i need to make an awesome tutorial for you guys...
it is My language(Z-LANG)!!

when you complete the tutorial...
please comment and write some lines of code...
and i'll reply for you if there is an error and what is the ouput...
So let's getting started

1. Variables

In my language... The variables will be like this...

make phrase = "Hello World!";

so make attribute makes a variable...
And also don't forget to put ; in the end of the line...
OK
variables: DONE!

2. Hello World

In my language.. Hello World line will be like this...

make phrase = "Hello World!";
line(phrase)

so here we make a variable called phrase and then we write the line() function to write a line of strings we put the variable phrase
Hello World: DONE!

3. Functions

Functions are so simple in my language... it will be like this...

define function() = {
line("This is a function!");
}

so it is like this
so simple....
functions: DONE!

4. Comments

Comments are so hard in my language... it will be like this

$THIS IS A COMMENT!$

HARD! no?
comments: DONE!

5. If statements

If statements are like this...

make bool = true;
if bool is true = {
line("WITH IF STATEMENTS!")
}

so simple language...
if statements: DONE!

SO I HOPE YOU ENJOYED AND DON'T FORGET TO WRITE A LINE OF CODE IN THE COMMENTS!

Good Bye!

You are viewing a single comment. View All
Codemonkey51 (926)

AGGGGGHHHHHHH NO SOCKETS I CANT LIVE (I want to make a discord bot with ur language)

Codemonkey51 (926)

code:

define function() = {
line('ERROR')
function()
}
function()

@Zuhdi28

[deleted]

@Codemonkey51 TypeError: line 3 function()
SyntaxError: no ; in the end of lines
HAVE A GOO DAY!

[deleted]

@Codemonkey51 really????
but it's not popular :(

Codemonkey51 (926)

updated code:

define function() = {
line('ERROR');
function();
}
function();

@Zuhdi28

[deleted]

@Codemonkey51 SyntaxError: line 3, you cannot call the function in the function code

Codemonkey51 (926)

updated code:

define runFunc() = {
function();
}
define function() = {
line('ERROR');
runFunc();
}
function();

@Zuhdi28

[deleted]

@Codemonkey51 Output: ERROR

[deleted]

@Codemonkey51 congrats!
cool language?

Codemonkey51 (926)

Lol did it get a max recurrsion error? @Zuhdi28

[deleted]

@Codemonkey51 actually there is no one codes like you so yes

Codemonkey51 (926)

YES repl shoukd addd this to replit offline :) @Zuhdi28

[deleted]
[deleted]

@Codemonkey51 i have to go
bye
i have online school