@zlanguage/zcomp
The Z language transpiler
Last updated 10 days ago by n8programs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @zlanguage/zcomp 
SYNC missed versions from official npm registry.

zcomp

The Z transpiler/interpreter

oclif Version Downloads/week License

Z

A transpiled language that can be evaluated as a script (for testing) or transpiled to human-readable JS (for production code). Z supports modules, functions, closure, error handling, and many more features you would expect from a modern language. Is it ready for production code? I'd wait a few months before that.

ZComp

The Z Compiler (ZComp) can be installed with:

$ npm install -g @zlanguage/zcomp

Then, you should install the zstdlib (a mix of a runtime and standard library):

$ npm install -g @zlanguage/zstdlib

Next, install globby, which is essential to the Z Compiler:

$ npm install -g globby

Finally, navigate to the directory you're using Z in, and type:

$ npm link @zlanguage/zstdlib

However, if you are using Z for a web app (or npm package), and want to deploy it to the world, instead run the following two commands:

$ npm init
$ npm install @zlanguage/zstdlib

This installs the Z standard library locally in just the paackage you need it for.

Use The Compiler

Transpile Z Code:

$ zcomp transpile [path of Z to transpile] [path of where to output the transpiled JS]

Run Z Code:

$ zcomp run [path of Z to run]

Transpile one directory to another:

$ zcomp dirt [path of directory with Z] [path of "out" directory]

Watch a file for changes, and transpile when the file is changed:

$ zcomp watch [path of Z to watch and transpile] [path of where to output the transpiled JS]

Docs

The docs are on the offical Z Website.

Z 0.4.1 is out!

New features:

  • Macro system and include

Current Tags

  • 0.4.5                                ...           latest (10 days ago)

87 Versions

  • 0.4.5                                ...           10 days ago
  • 0.4.4                                ...           11 days ago
  • 0.4.3                                ...           13 days ago
  • 0.4.2                                ...           22 days ago
  • 0.4.1                                ...           22 days ago
  • 0.4.0                                ...           22 days ago
  • 0.3.20                                ...           a month ago
  • 0.3.19                                ...           a month ago
  • 0.3.18                                ...           a month ago
  • 0.3.17                                ...           a month ago
  • 0.3.16                                ...           a month ago
  • 0.3.15                                ...           a month ago
  • 0.3.14                                ...           a month ago
  • 0.3.13                                ...           a month ago
  • 0.3.12                                ...           a month ago
  • 0.3.11                                ...           a month ago
  • 0.3.10                                ...           2 months ago
  • 0.3.9                                ...           2 months ago
  • 0.3.8                                ...           2 months ago
  • 0.3.7                                ...           2 months ago
  • 0.3.6                                ...           2 months ago
  • 0.3.5                                ...           2 months ago
  • 0.3.4                                ...           2 months ago
  • 0.3.3                                ...           2 months ago
  • 0.3.2                                ...           2 months ago
  • 0.3.1                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
  • 0.2.22                                ...           2 months ago
  • 0.2.21                                ...           2 months ago
  • 0.2.20                                ...           2 months ago
  • 0.2.19                                ...           2 months ago
  • 0.2.17                                ...           2 months ago
  • 0.2.16                                ...           2 months ago
  • 0.2.15                                ...           2 months ago
  • 0.2.14                                ...           2 months ago
  • 0.2.13                                ...           2 months ago
  • 0.2.12                                ...           2 months ago
  • 0.2.11                                ...           2 months ago
  • 0.2.10                                ...           2 months ago
  • 0.2.9                                ...           2 months ago
  • 0.2.8                                ...           2 months ago
  • 0.2.7                                ...           3 months ago
  • 0.2.6                                ...           3 months ago
  • 0.2.5                                ...           3 months ago
  • 0.2.4                                ...           3 months ago
  • 0.2.2                                ...           3 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.17                                ...           3 months ago
  • 0.1.16                                ...           3 months ago
  • 0.1.15                                ...           3 months ago
  • 0.1.14                                ...           3 months ago
  • 0.1.13                                ...           3 months ago
  • 0.1.12                                ...           3 months ago
  • 0.1.11                                ...           3 months ago
  • 0.1.10                                ...           3 months ago
  • 0.1.9                                ...           3 months ago
  • 0.1.8                                ...           3 months ago
  • 0.1.7                                ...           3 months ago
  • 0.1.6                                ...           3 months ago
  • 0.1.5                                ...           3 months ago
  • 0.1.4                                ...           3 months ago
  • 0.1.3                                ...           3 months ago
  • 0.1.2                                ...           3 months ago
  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.0.20                                ...           3 months ago
  • 0.0.19                                ...           3 months ago
  • 0.0.18                                ...           3 months ago
  • 0.0.17                                ...           3 months ago
  • 0.0.16                                ...           3 months ago
  • 0.0.15                                ...           3 months ago
  • 0.0.14                                ...           3 months ago
  • 0.0.13                                ...           3 months ago
  • 0.0.12                                ...           3 months ago
  • 0.0.11                                ...           3 months ago
  • 0.0.10                                ...           3 months ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           3 months ago
  • 0.0.5                                ...           3 months ago
  • 0.0.4                                ...           3 months ago
  • 0.0.3                                ...           3 months ago
  • 0.0.2                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
  • 0.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 115
Last Day 0
Last Week 9
Last Month 376
Dependencies (5)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |