Skip to content

ElixirCL/kombucha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

🍹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