Skip to content

Strumenta/tylasu

Repository files navigation

npm version

Tylasu – AST Library for TypeScript

Tylasu supplies the infrastructure to build a custom, possibly mutable, Abstract Syntax Tree (AST) using TypeScript.

Tylasu is part of the StarLasu family of libraries. The other libraries provide similar support in other languages.

Tylasu come with optional facilities for integration with ANTLR, specifically the antlr4ng implementation.

Documentation and Examples

The high-level documentation of the concepts that make up StarLasu is available on the StarLasu repository on GitHub.

The documentation of Tylasu's APIs, that implement those concepts, is available at https://strumenta.github.io/tylasu/.

A project showcasing some basic usage of Tylasu is also available.

Building and Releasing

yarn build compiles the sources.

yarn dist compiles, tests and builds the npm package.

yarn publish-lib creates the dist and uploads it to the NPM registry and GitHub packages.