luciotato / LiteScript

Compile-to-js and compile-to-c language, highly readable, keep it simple philosophy
GNU Affero General Public License v3.0
147 stars 7 forks source link

export API to compile from JS? #14

Open tunnckoCore opened 9 years ago

tunnckoCore commented 9 years ago

I seen, that ./lib/js_lite.js do some magics, but don't have time to look deeply and suggest something.

Just need something like require('litescript').compile(liteScriptString) or something. Because we building @jstransformers, which currently have 130 transformers and counting - and more 100+ in issues tracker.