Skip to content

Toothpick is a simple functional language that transpiles to JavaScript AST

Notifications You must be signed in to change notification settings

DCzajkowski/toothpick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toothpick logo

Introduction

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.

Installation

Prerequisites

  • Elixir 1.8 & Mix (brew install elixir on macOS)

Installation steps

git clone [email protected]:DCzajkowski/toothpick.git
cd toothpick

Compiling and running the application

source=test/stubs/function_without_arguments.tp; \
output=_build/output.js; \
mix toothpick $source -o $output \
&& node $output

Running tests

mix test

Running the code formatter

mix format

About

Toothpick is a simple functional language that transpiles to JavaScript AST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages