0.0.34 • Published 3 months ago

coli v0.0.34

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

CoLI

Computer Language Interface (node, dart, css, html, python)

Supported platforms

  • NodeJS

Supported gen target languages

  • JSX / TSX
  • JS / TS
  • Dart (+ Flutter)
  • CSS
  • SCSS
  • XML
  • HTML

CoLI Node implementation.

jsx building

div(div("content"))

>>> <div>
>>>   <div>
>>>     content  
>>>   </div>
>>> </div>

dart variable declaration

const file = new File("main.dart")
file.add(Variable.const("someVariable", "hi there!", CoLITypes.String))

// main.dart
>>> final String someVariable = "hi there!";

to check work around for generating flutter code - checkout flutter-builder