Measures Concepts
GitHub icon

Z

Z - Programming language

< >

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

Source code:
git clone https://github.com/chrisdone/z
#1237on PLDB 12Years Old

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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout