Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.31 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.31 KB

🍹The Kombucha Programming Language

Kombucha is a experimental programming language. A combination between Elixir and Gleam.

module Brew {
  pub strong() {
    "This is a Kombucha Brewed in 30 days!"
  }
}
Brew.strong()

Features

  • Transpiles down to Elixir. Is essentially Elixir with some Gleam ideas on top.
  • All functions within a module are private by default (defined with fun). Must be made public explicitly with pub keyword.
  • Can have constants with const keyword.
  • module instead of defmodule.
  • struct instead of defstruct.
  • macro instead of defmacro.
  • guard instead of defguard.
  • /* and */ multiline comments.
  • Curly braces {} for blocks instead of do and end.
  • $myfunc() instead of myfunc.() for anonymous functions.

Why?

Is a simple parser implemented in Elixir. Maybe it can help learners or a good exercise.

License

MPLv2

Credits

Proudly Coded in - 🇨🇱 Chile Made With ❤️ By - Ninjas.cl