Getting Started

You need to install LuvvieScript and all its dependencies, obviously.

And you should read about the toolchain carefully.

Then got into test/not_passing/src/ and have a good nosey around. Find a test you want to make pass and copy it into test/passing/src.

Fire up browser and point it to the online Javascript parser esprima. Type in the Javascript you think you will need to compile to and that will give you a target Javascript AST.

You can use the erlang module test_utils.erl to help you make a unit test in to_js_ast.erl for that.

Then it is a matter of making and running the tests:


./build.sh
rebar compile
rebar make_tests
rebar ct skip_deps=true

It will crash and burn (obviously, other wise the test would already be in test/passing/src. But once you fix that, commit, get yer t-shirt, and move onto the next test.

If you have read this far you should follow @LuvvieScript or @gordonguthrie on Twitter.


If you have read this far you should follow @LuvvieScript or @gordonguthrie on Twitter.

Or Better Still, Join Us...

Fork LuvvieScript

Read More!