https://github.com/yutopp/tylang
A transpiler from Tylang to Erlang. Tylang extends Erlang with type annotations and etc.
https://github.com/yutopp/tylang
Last synced: about 2 months ago
JSON representation
A transpiler from Tylang to Erlang. Tylang extends Erlang with type annotations and etc.
- Host: GitHub
- URL: https://github.com/yutopp/tylang
- Owner: yutopp
- Created: 2017-06-19T06:47:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-28T12:02:27.000Z (almost 9 years ago)
- Last Synced: 2025-03-13T15:27:17.232Z (about 1 year ago)
- Language: Erlang
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tylang
**WORK IN PROGRESS**
Tylang, TYped erLANG, extends Erlang with type annotations and etc.
This repository provides only a transpiler from Tylang to Erlang.
A type checker for Tylang is provided as [Eir](https://github.com/yutopp/eir).
## How To Use
Install tylang transpiler as a rebar3 plugin. Add the following to your rebar.config file:
```
{plugins, [
{tylang, ".*", {git, "https://github.com/yutopp/tylang.git", {brunch, "master"}}}
]}.
{provider_hooks, [{pre, [{compile, {tylang, compile}}]}]}.
```
## Build
```
$ rebar3 compile
```
## License
This software is licensed under the [Boost Software License](http://www.boost.org/LICENSE_1_0.txt).
NOTE: [src/tylang_parse.yrl](src/tylang_parse.yrl) is derived from [otp original](https://github.com/erlang/otp/blob/master/lib/stdlib/src/erl_parse.yrl) and licenced under the [Apache License](http://www.apache.org/licenses/LICENSE-2.0).