Zyrikl is a web scripting language, which means it uses a keyword-based command function experience. Also, Zyrikl uses semicolons (;) to seperate lines. EVERY line must have a semicolon ending it. This means that Zyrikl can easily be compressed. Single-line comments use "//" to start, and multi-line span from "/*" to "*/".
Below is an example:
echo "Hello, World!";
This will print Hello, World! You can use the "print" statement to print out text, too.
print "Hello, World!";
It is possible to print images and links. For images, use the "img" keyword to link to an image as the first argument. Links can be inserted using the "link" attribute. The "link" attribute has two arguments, the first of which is the link and the second the text.
// Here's the image code. ;
img "icon.png";
;
// Here's the link. It will show as "Google link". ;
link "https://www.google.com" "Google link";
You can also use different-sized headers:
// Header demonstration: ;
;
header1 "Largest";
;
header2 "Second largest";
;
header3 "Third largest";
;
header4 "Fourth largest";
;
header5 "Second smallest";
;
header6 "Smallest";
Another useful function is the "webdriver" function. It embeds a webpage into your page.
// The second argument of "" means that you have an ;
encryption of null. ;
;
webdriver "your website" "";
The "img" function is used similarly, with the second argument being encryption.
Two important functions include the "break" and the "line" functions. These do exactly what they sound like.