Skip to content

Collective-SB/yolol.info

Repository files navigation

YOLOL.info

Visit this repo's website!

This tutorial covers everything from the basics to optimization in YOLOL!
I will try to explain the concepts behind YOLOL to the best of my extent, however if any questions should arise while reading through the tutorial feel free to drop by in the CYLON Discord Server or simply ask in #yolol-code of the official Starbase Discord.

A huge shout-out deserves Azurethi(#0789) for providing Yazur, the open-source clientside YOLOL interpreter which he wrote. His work made V2 of this tutorial even possible, so I can't be thankful enough for his amazing contribution!

What you will learn here:

What is Starbase?

An overview of YOLOL, it's creators and documentation.

Learnings in this chapter:

  • YOLOL and the name's origin
  • Information about Starbase and it's creators Frozenbyte
  • Official documentation of YOLOL
Read more
YOLOL fundamentals

A first dive into the language.

Learnings in this chapter:

  • Introduction to interactive code snippets
  • How YOLOL is being executed
  • YOLOL limitations
Read more
Data fields

Data fields, variables and the game-changing colon.

Learnings in this chapter:

  • Defining variables and assigning values
  • The difference between global and local variables
Read more
Hello, world!

Understanding how strings work at the example of "Hello world!".

Learnings in this chapter:

  • Assigning strings to a field
  • Combining strings through concatenation
Read more
Jumping with `goto`

Wether you want to skip some lines or jump to a specific one - goto does it all!

Learnings in this chapter:

  • The core concept of goto
  • Creating finite and infinite loops
Read more
Conditions with `if`

Using if to make decisions and create more complex scripts.

Learnings in this chapter:

  • Syntax of if-statments and their use-cases
  • Combining with goto
Manipulating strings

Calculating the length of strings, reversing them and much more!

Learnings in this chapter:

  • Different ways of manipulating strings
  • Using string manipulations to get the length of a string
Abusing errors

Causing errors in the execution of YOLOL and making use of them.

Learnings in this chapter:

  • Optimizing code by introducing errors
  • Optimized way of getting the length of a string