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()- 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 withpubkeyword. - Can have constants with
constkeyword. moduleinstead ofdefmodule.structinstead ofdefstruct.macroinstead ofdefmacro.guardinstead ofdefguard./*and*/multiline comments.- Curly braces
{}for blocks instead ofdoandend. $myfunc()instead ofmyfunc.()for anonymous functions.
Is a simple parser implemented in Elixir. Maybe it can help learners or a good exercise.