Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shuyunff2e/dragon-pond

👹🔥dragon compiler collection
https://github.com/shuyunff2e/dragon-pond

babel-plugin compiler

Last synced: 1 day ago
JSON representation

👹🔥dragon compiler collection

Awesome Lists containing this project

README

        

# dragon-pond

[![Build Status](https://img.shields.io/travis/ShuyunFF2E/dragon-pond.svg?style=flat-square)](https://travis-ci.org/ShuyunFF2E/dragon-pond)
[![npm version](https://img.shields.io/npm/v/dragon-pond.svg?style=flat-square)](https://www.npmjs.com/package/dragon-pond)
[![npm downloads](https://img.shields.io/npm/dt/dragon-pond.svg?style=flat-square)](https://www.npmjs.com/package/dragon-pond)
[![coverage](https://img.shields.io/codecov/c/github/ShuyunFF2E/dragon-pond.svg?style=flat-square)](https://codecov.io/gh/ShuyunFF2E/dragon-pond)

a collection of dragon compiler,based on babel plugin system

## reference
* [babel-handbook](https://github.com/thejameskyle/babel-handbook/blob/master/translations/zh-Hans/plugin-handbook.md#toc-babel-types)
* [babel-types](https://github.com/babel/babel/tree/master/packages/babel-types)
* [babylon ast spec](https://github.com/babel/babylon/blob/master/ast/spec.md)

## check examples

* ast-transformer
```bash
node examples/ast-transfromer
```

* compiler
```bash
cd examples/vue-app
npm i
npm start
node ../compiler
```