Toothpick is a programming language that compiles directly to JavaScript. It provides a modern syntax for purely functional solutions. It has a very short list of reserved keywords and tokens which makes it very flexible. The documentation can be found at https://toothpick.netlify.com.
- Elixir 1.8 & Mix (
brew install elixiron macOS)
git clone git@github.com:DCzajkowski/toothpick.git
cd toothpicksource=test/stubs/function_without_arguments.tp; \
output=_build/output.js; \
mix toothpick $source -o $output \
&& node $outputmix testmix format