An open API service indexing awesome lists of open source software.

https://github.com/oetherington/glinka

A fast Typescript compiler written in Zig
https://github.com/oetherington/glinka

compiler transpiler typescript zig

Last synced: about 1 year ago
JSON representation

A fast Typescript compiler written in Zig

Awesome Lists containing this project

README

          

# Glinka

[![CI Workflow Status](https://github.com/oetherington/glinka/actions/workflows/ci.yml/badge.svg)](https://github.com/oetherington/glinka/actions)
[![Code Coverage](https://img.shields.io/badge/coverage-%3E90%25-informational)](https://www.etherington.io/glinka-code-coverage/)
[![NPM](https://nodei.co/npm/glinka.png?mini=true)](https://npmjs.org/package/glinka)

Glinka is a Typescript compiler written in Zig designed for speed. Please note
that it is still a work in progress and large portions of the language are not
yet implemented. For a general overview of what's already available you can look
in the `integration/tests` directory and at the `TODO` file.

### Building

You will need the [Zig compiler](https://ziglang.org/download/) to build
Glinka. Glinka is kept up-to-date with the HEAD of the Zig master branch.

Create a debug build: `make`.

Create a production build: `make release`.

Run unit tests: `make test`.

Create a unit test coverage report (requires `kcov` to be installed):
`make coverage`.

Run integration tests (you must run `npm install` before the first time):
`make integration`.

### Contributing

Pull requests and bug reports are welcome
[on Github](https://github.com/oetherington/glinka).

Contributors should follow the
[Contributor Covenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).

### Copying

Glinka is free-software under the
[GNU AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html) (see the included
`COPYING` file for more information).