TYL PROGRAMMING LANGUAGE
▶ OVERVIEW & TERMINOLOGY
This guide is for intermediate and experienced programmers, as well as, for totally beginners. Each page starts with simple code snippets and advances into more complicated code. For beginners it will be useful to learn from other sources too.

Throughout this guide we use code boxes like:
city 'Atlantis'
population 20000
Code boxes contain sections of Tyl code. In descriptions about the code, there will be explanations about code lines like line city 'Atlantis', and about variables in the code like city variable. All these lines and variables will be written in console style font.

Almost all codes in code boxes are valid Tyl programs that can be run by Tyl System.

When it is useful to see the result of code running, a run box will be appended to the code box:
city 'Atlantis'
population 20000
print 'City: `' + city + '`, has ' + population + ' citizens.'
City: 'Atlantis', has 20000 citizens.
The lower box is the run box, and it contains the text that is printed while running the code with Tyl Launcher.

Almost all codes in this guide are written in the unsymbolized style, meaning they are written in ASCII letters. This was done to make the code look as the programmer would type it and not as it will be seen in Tyl Launcher.

Though there are common words for programming entities, there are variations in terminology between software languages. In Tyl we use the terminology decribed in the following table:
Terminology
collection of UNICODE symbols
whole number
any number in the range { -∞, ∞ }
integral number in the range { -2147483648, +2147483647 }
any integral number, but usually, integral numbers that exceed number range
component that has dual value: TRUE or FALSE
boolean true
boolean false
absence of value
primitive data like string, number and boolean
component that stores data
valid Tyl variable name
ordered collection of items
section of code that constructs a programming functionality