A Functional Programming Lnaguage.
TezuemLang is a functional programming language written in pure python.
Its syntax is a little bit similar to lisp
but with square brackets instead of round brackets
[put "Hello, world! \n"]
The put function in Tezume is similar to printf in the C programming language
although I didn't do formatted output
// This is a line of comments
/. This is also a line of comments
This is still a line of comments
They are all comments. ./
Comments in Tezume start with //
; starts with /.
and ends with ./
ending
(nesting is not supported at this time)
[+ 5 2] // add
[- 5 2] // subtract (if there is only one argument, it takes the opposite number)
[/ 5 2] // divide
[* 5 2] // multiply
[/- 5 2] // divide by whole (delete the decimal part after the division)
[/+ 5 2] // divide by whole (delete the fractional part after dividing and round up to the whole number)