Tiny programming language
Encyclopedia
Tiny is an extremely simple programming language
Programming language
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely....

 used in computer science
Computer science
Computer science or computing science is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems...

 courses to teach compiler construction
Compiler construction
Compiler construction is an area of computer science that deals with the theory and practice of developing programming languages and their associated compilers....

techniques to students.

The language itself is so basic that it only includes reading of integer numbers, addition and subtraction arithmetic operations, and displaying numerical values.

The grammar of the language follows:


-> BEGIN END
-> |
-> := ;
-> READ ( ) ;
-> WRITE ( ) ;
-> , |
-> , |
-> |
-> ( ) | | INT
-> + | -
-> ID


As can be deduced from this simplistic grammar, the language is of limited practical use, gaining the most value as a teaching aid.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK