Skip to content
zane-langPublic

About

The spec for the Zane programming language.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Zane logo

The Zane Language Specification

This repository defines the Zane programming language: the meaning of every construct, the set of legal programs, and how memory, effects and packages work. Next to the specification sit the design stories, which record how and why each part came to be.

The specification is a reference, not a tutorial. To learn the language first, start at https://zane-lang.org/docs.

This repository is also a prior art publication. The techniques described in these documents were conceived and developed by the author and are dedicated to the public domain under CC0 1.0 Universal. Anyone may use these ideas freely, for any purpose, without restriction or attribution. No patent claims are made by the author.

Where to start

spec/README.md lists every specification document by topic, with a reading order; stories/README.md does the same for the design stories. Both are also published, with search, at https://zane-lang.org/spec and https://zane-lang.org/stories.

Repository layout

spec/             the specification itself: what the language does
stories/          design stories: how each part of the spec came to be
contributing/     style guides for writing spec and stories documents
memorybench/      a C harness that models the memory design
langbench/        compiled Zane programs timed against the same programs in other languages
site/             the page that publishes both benchmarks

The benchmarks' pinned results are published at https://zane-lang.github.io/spec/. memorybench/ measures a C model of the memory design (spec/memory.md); langbench/ measures what a released compiler builds.

Contributing

Read the guide for the kind of document you are editing first:

About

The spec for the Zane programming language.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages