Little Cat is a modern dynamic typed interpreted language that allows you to write programs quickly and easily.
It was influenced by Java, Kotlin, Python, PHP.
Language abbreviation lclang
. File extension - lcat
.
Download the latest release of EXE.
apt update & apt install wget
wget https://ft.vitiacat.xyz/download.php?id=lcdeb -O lclang.deb
dpkg -i lclang.deb
Open terminal and write:
lclang
Output:
lclang <relative or absolute path>
println("Hello, World!")
i = 0
while i < 20: {
println(i++)
}
OR
i = 0
while {
println(i++)
return i<20
}
array = [1]
array[] = 5
[a, b] = array
println(a)
println(b)
data = null
:Thread(-> {
sleep(5000L)
data = "New data!"
})
while data==null
println(data)
println(readInput(
parseUrl("https://github.com")
.openConnection()
.getInput()
))
url = "info.cern.ch"
path = "/"
requestMethod = "GET"
socket = :Socket(url, 80)
output = socket.getOutput()
output.println(requestMethod+" "+path+" HTTP/1.1")
output.println("Host: " + url)
output.println("")
output.flush()
println(readInput(socket.getInput()))
map = :Map()
map.put("ads", "Zation is a social network")
println(map.get("ads"))
println(map.entries)