Skip to content
/ Tiny Public

Tiny is a fictional programming language for educational purposes

Notifications You must be signed in to change notification settings

Agronault/Tiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny

Tiny is a fictional programming language for educational purposes

Syntax

Variables are referenced with letters (a-z) and act as double
a:= value; to save value as "a"
global X,X,X; to set global variables
local X,X,X; to set local variables

proc procedure(parameters) to register a procedure, (endproc to set its end)
call procedure(parameters); to call a procedure

///////ATENTION//////
If you are using ^0.7, you'll need to set a procedure called 'main'
////////////////////////

writeStr("string"); to print
read(b); to read a value and save as "b"
writeVar(b); to print the value you saved

if n < 0 then
case true
else
case false
endif

for i:= 10 downto 1 do
code a loop
endfor

while a <= n do
code a loop
endw

About

Tiny is a fictional programming language for educational purposes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published