relekang / bailey.js

Coffee without the bitter aftertaste....

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bailey.js

bailey.js is a pragmatic language that compiles to javascript. Sort of like coffeescript, but a lot more inspired by python than ruby, with a focus on creating a cleaner, saner language with less flaws.

bailey.js is currently very, very work in progress, with lots of stuff missing. But if you want to check it out, see the language in examples/example.bs, and convert it to js with the following command:

node bailey.js examples/ build/

Options

--node

Use node imports instead of requirejs-imports, for running things server-side.

--remove-comments

Remove all comments in the compiled version.

--bare

Make the Javascript file without the wrapper function.

--version

Output the current version.

--watch

Watch the source file or directory, recompiling when any file changes.

About

Coffee without the bitter aftertaste....

License:MIT License


Languages

Language:JavaScript 51.2%Language:CSS 27.3%Language:Ruby 13.3%Language:Python 8.3%