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 elixir
on macOS)
git clone [email protected]:DCzajkowski/toothpick.git
cd toothpick
source=test/stubs/function_without_arguments.tp; \
output=_build/output.js; \
mix toothpick $source -o $output \
&& node $output
mix test
mix format