Gretea (aka green tea), new generation programming language.
A taste of Gretea's syntax:
import tea.green.fmt
module hello {
fn hello#display_it<What>(what: What) {
fmt#println(what)
}
}
fn main() = int {
hello#display_it("Hi Gretea!")
. 0
}
- Variables are immutable by default.
- Runtime scripting support
- Aliases
- Compile-time statements.
- Variadics.
- C++ codegen backend support.
- A bit better STL called tea.green (STL) and tea.black (FFI)
compile
keyword for [[ x ]]
flags (like default
)
Gretea licensed under the terms of MIT License.