tube-lang
v0.8.0
Published
Tube is a declarative, completely unneeded, functional language that compiles into Javascript.
Downloads
7
Maintainers
Readme
TUBE
Tube is a declarative, auto-curried, completely unneeded, functional language that compiles into Javascript.
Motivation
After reading the amazing super tiny compiler repository I became more interested about compilers. The idea of build one yourself for a made up language kept growing and this is the result.
It is a subset of Javascript, you still need some JS code in order to work.
Installation
$ npm i -g npm
$ npm i lodash
Usage
const __tube_lang__ = require('tube-lang')
const { compile } = __tube_lang__
const jsCode = compile(tubeCode)
eval(jsCode)
Roadmap
April 2021
:white_check_mark: Compiler
:white_check_mark: Test coverage 100%
May 2021
:white_check_mark: NPM package
:black_square_button: Web Editor