zeolite-lang: Zeolite is a statically-typed, general-purpose programming language.

[ apache, compiler, program ] [ Propose Tags ]

Zeolite is an experimental general-purpose programming language. See Zeolite on GitHub for more details.

The installation process is still a bit rough, and therefore must be done in a few stages:

  • Ensure that you have a C++ compiler such as clang++ or g++ installed, and an archiver such as ar installed, all callable from a shell.

  • Install the binaries using cabal. After this step, the compiler itself is installed, but it cannot actually create executables from source code.

cabal install zeolite-lang
  • Execute the setup binary that gets installed by cabal. This will give you a series of prompts to verify the binaries above. It will then automatically build the supporting libraries.

# By default, setup is interactive.
zeolite-setup

# To choose the c++ and ar binaries non-interactively, include them as args.
zeolite-setup /usr/bin/clang++ /usr/bin/ar

# Or just choose the 1st match for each.
zeolite-setup 1 1

# Use -j n before other options to execute n steps at a time in parallel.
zeolite-setup -j 4
ZEOLITE_PATH=$(zeolite --get-path)
zeolite -p "$ZEOLITE_PATH/example/hello" -I lib/util --fast HelloDemo hello-demo.0rx
$ZEOLITE_PATH/example/hello/HelloDemo

The code examples are located in $ZEOLITE_PATH/example. You should not normally need to use $ZEOLITE_PATH outside of running the included tests and examples.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7, 0.1.2.8, 0.1.2.9, 0.1.3.0, 0.1.3.1, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.1.1, 0.5.0.0, 0.6.0.0, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.1.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.11.0.0, 0.12.0.0, 0.13.0.0, 0.14.0.0, 0.15.0.0, 0.16.0.0, 0.16.1.0, 0.17.0.0, 0.18.0.0, 0.18.0.1, 0.18.1.0, 0.19.0.0, 0.20.0.0, 0.20.0.1, 0.21.0.0, 0.22.0.0, 0.22.1.0, 0.23.0.0, 0.24.0.0, 0.24.0.1, 0.24.1.0 (info)
Change log ChangeLog.md
Dependencies base (>=4.9 && <4.20), containers (>=0.3 && <0.7), directory (>=1.2.3 && <1.4), filepath (>=1.0 && <1.5), hashable (>=1.0 && <1.5), megaparsec (>=7.0 && <9.7), microlens (>=0.4.9 && <0.5), microlens-th (>=0.1.0.0 && <0.5), mtl (>=1.0 && <2.4), parser-combinators (>=0.2 && <2.0), regex-tdfa (>=1.0 && <1.4), time (>=1.0 && <1.13), transformers (>=0.1 && <0.7), unix (>=2.6 && <=2.9), zeolite-lang [details]
License Apache-2.0
Copyright (c) Kevin P. Barry 2019-2024
Author Kevin P. Barry
Maintainer Kevin P. Barry <ta0kira@gmail.com>
Category Compiler
Home page https://github.com/ta0kira/zeolite
Uploaded by ta0kira at 2024-01-08T01:25:04Z
Distributions
Executables zeolite-setup, zeolite
Downloads 12720 total (106 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2024-01-08 [all 1 reports]