Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Z

< >

Z is a programming language created in 2012 by Chris Done.

#881on PLDB 12Years Old
Download source code:
git clone https://github.com/chrisdone/z

A strict, impure, curried, partially applied programming language with rather peculiar syntax.


Language features

Feature Supported Token Example
Line Comments --
-- A comment
Strings
"hello world"
Semantic Indentation
defun message msg
      do print : Here's a message
         print msg
         print : End of message.
Comments
-- A simple function, that is used inside the macro below.
defun ap x y
     ++ x
        y
defmacro : input
         z:string input
-- Example with print:
print : Hello, World!
        What's going on in here?

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll