Skip to content

relekang/bailey.js

 
 

Repository files navigation

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....

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.1%
  • CSS 27.3%
  • Ruby 13.3%
  • Python 8.3%