Skip to content

hooay233/TezuemLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TezumeLang

A Functional Programming Lnaguage.

中文在这里 Chinese

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

Hello, world!

[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

Comments

// 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)

Operators

[+ 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)

About

A Functional Programming Lnaguage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages