Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elixircl/kombucha
🍹Kombucha: A Programming Language with Probiotics
https://github.com/elixircl/kombucha
elixir functional functional-programming kombucha language programming
Last synced: about 2 months ago
JSON representation
🍹Kombucha: A Programming Language with Probiotics
- Host: GitHub
- URL: https://github.com/elixircl/kombucha
- Owner: ElixirCL
- License: mpl-2.0
- Created: 2023-03-29T15:55:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T17:00:55.000Z (over 1 year ago)
- Last Synced: 2024-05-01T06:45:24.685Z (8 months ago)
- Topics: elixir, functional, functional-programming, kombucha, language, programming
- Homepage:
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍹The Kombucha Programming Language
[Kombucha](https://en.wikipedia.org/wiki/Kombucha) is a experimental programming language.
A combination between [Elixir](https://elixir-lang.org/) and [Gleam](https://gleam.run/).```elixir
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](https://img.shields.io/badge/License-MPL%20v2-blue.svg)
## Credits
![Proudly Coded in - 🇨🇱 Chile](https://img.shields.io/badge/Proudly_Coded_in-🇨🇱_Chile-white?style=for-the-badge)
![Made With ❤️ By - Ninjas.cl](https://img.shields.io/badge/Made_With_❤️_By-Ninjas.cl-2ea44f?style=for-the-badge)