Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/futagoza/meg

Meta language + PEG grammar = Any language
https://github.com/futagoza/meg

Last synced: about 1 month ago
JSON representation

Meta language + PEG grammar = Any language

Awesome Lists containing this project

README

        

[![Build status](https://img.shields.io/travis/futagoza/meg.svg)](https://travis-ci.org/futagoza/meg)
[![npm version](https://img.shields.io/npm/v/meg.svg)](https://www.npmjs.com/package/meg)
[![dependencies](https://img.shields.io/david/futagoza/meg.svg)](https://david-dm.org/futagoza/meg)
[![devDependencies](https://img.shields.io/david/dev/futagoza/meg.svg)](https://david-dm.org/futagoza/meg#info=devDependencies)
[![License](https://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)

# about meg

Meg is a meta language with macros defined by a PEG based syntax and language-independent operations.

# features

* PEG grammar to define macro syntax's
* Language-independent operator based operations
* Pre-processor and ECMAScript libraries
* Just-in-time (JIT) compiler to execute source
* JavaScript and C parser generators
* Generators are re-definable from Meg grammar

# install

All of these methods require Node 4+ installed on your system.

###### to use as a command line tool

```shell
npm install -g meg
```

###### to use as a Node.js module

```shell
npm install --save-dev meg
```

###### development version, via GIT and NPM

```shell
git clone https://github.com/futagoza/meg.git
cd meg
npm install
```

# license

Copyright (c) 2016+ Futago-za Ryuu

The MIT License, [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)