clir

0.0.1 • Public • Published

Clir is a Cirru to C compiler for fun

C is designed with curly brackets, and I want to write in Cirru syntax.

Status: prototyping...

Usage

npm i --save clir
clir = require 'clir'
 
source = """
stdio.h #include
 
main :: (int int) int
main (a b)
  (a + b) return
"""
 
clir.transform(source)

returns:

#include <stdio.h>
 
int main(int a, int b) {
  return a + b;
}

Develop

Use Webpack for debugging:

npm i
webpack-dev-server --hot
# debugger.html 

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i clir

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jiyinyiyong