firework_lang 0.2.4

Firework Programming Language
Documentation

Firework programming language

Test Status Crates.io Version Crates.io Downloads Crates.io License

Programming language with accidental OCaml inspired syntax™ that transpiles to Haskell

Build Guide

1. Installing Rust

  • *nix:

     curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    
  • Windows:

    Install rustup-init and run it

2a. Installing Firework

cargo install firework_lang

2b. Building from Source

git clone https://github.com/Pavlos-Efstathiou/firework_lang

cd firework_lang

cargo build --release

3. Installing GHC

Instructions

Quickstart

firework_lang new hello_world

cd hello_world

firework_lang run

4. Running the example

git clone https://github.com/Pavlos-Efstathiou/firework_lang

cd firework_lang/example

firework_lang run

Upcoming features

  • Operators
  • Algebraic Data Types
  • An actually good transpiler
  • Custom Data Types
  • Dependency management
  • Infix and prefix functions
  • A Prelude
  • Type inference
  • Better parsing error messages
  • Docs