Skip to content

Zentiph/Zen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Zen Programming Language

Zen is a statically-typed, compiled programming language developed from scratch as a personal learning project. It aims to blend the type safety and structure of Java with the simplicity and developer-friendly nature of Python, making for a truly zen-like coding experience.

GitHub License Contributors
GitHub commit activity Last Commit
C Standard Formatter

Example

Here is a demo program performing the FizzBuzz algorithm (may be subject to change as the language evolves):

// fizzbuzz.zen

fn fizzbuzz(int start, int end) {
    int num = start
    while (num < end) {
        string str = ""
        if (num % 3 == 0) {
            str += "Fizz"
        }
        if (num % 4 == 0) {
            str += "Buzz"
        }
        if (num % 4 != 0 and num % 3 != 0) {
            str += num
        }
        print(str)
    }
}

fizzbuzz(0, 20)

For more examples, check out examples or tutorials.

Current State

Zen currently supports:

  • Nothing :D

Contributing

This project is not yet big enough or organized enough to accept contributions, but if you have an inquiry, request, or new feature idea, reach out to me at [email protected].

License

This project is licensed under the GNU General Public License Version 3. View the license for more information.

About

Zen is a statically-typed, compiled programming language developed from scratch as a personal learning project. It aims to blend the type safety and structure of Java with the simplicity and developer-friendly nature of Python, making for a truly zen-like coding experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages