Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ferhatgec/gretea
Fegeya Gretea (aka green tea), new generation programming language.
https://github.com/ferhatgec/gretea
compiler cpp cpp17 green greentea programming programming-language rust tea
Last synced: about 3 hours ago
JSON representation
Fegeya Gretea (aka green tea), new generation programming language.
- Host: GitHub
- URL: https://github.com/ferhatgec/gretea
- Owner: ferhatgec
- License: mit
- Created: 2021-05-19T17:48:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-13T17:16:56.000Z (over 2 years ago)
- Last Synced: 2024-01-26T09:19:18.457Z (10 months ago)
- Topics: compiler, cpp, cpp17, green, greentea, programming, programming-language, rust, tea
- Language: Rust
- Homepage:
- Size: 254 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fegeya Gretea
## Gretea (aka green tea), new generation programming language.### A taste of Gretea's syntax:
```rust
import tea.green.fmtmodule hello {
fn hello#display_it(what: What) {
fmt#println(what)
}
}fn main() = int {
hello#display_it("Hi Gretea!"). 0
}
```### Features:
* Variables are immutable by default.
* [Runtime scripting support](https://github.com/ferhatgec/elite)
* Aliases
* Compile-time statements.
* Variadics.
* C++ codegen backend support.
* *A bit better* [STL](tea/) called [*tea.green*](tea/green/) (STL) and [*tea.black*](tea/black) (FFI)
* `compile` keyword for `[[ x ]]` flags (like `default`)### Gretea licensed under the terms of MIT License.