https://github.com/ferhatgec/elite
Fegeya Elitebuild, small, powerful build system. Written in Rust.
https://github.com/ferhatgec/elite
build build-system build-tool rust
Last synced: 9 months ago
JSON representation
Fegeya Elitebuild, small, powerful build system. Written in Rust.
- Host: GitHub
- URL: https://github.com/ferhatgec/elite
- Owner: ferhatgec
- License: mit
- Created: 2021-05-01T00:22:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T01:58:00.000Z (over 1 year ago)
- Last Synced: 2025-04-23T18:08:26.782Z (9 months ago)
- Topics: build, build-system, build-tool, rust
- Language: Rust
- Homepage:
- Size: 109 KB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Fegeya Elitebuild
## Small, powerful, work-in-progress build system. Written in Rust.
### Features:
* No functions (all are built-ins)
* All variables are global
* Cross-platform (say 'thank you' to rust's standard lib)
* Different syntax.
* Preprocessor.
* Aliases.
* Built-in analyzer.
* Language back-ends.
### A taste of Elite's syntax:
```cpp
required_version is 0.1
set BIN_PATH as "/usr/bin/"
set COMPILER as "g++"
set COMPILER_PATH as "{BIN_PATH}{COMPILER}"
set SOURCE_FILE as "example.cpp"
set OUTPUT as "example"
for signal "start" [
for exists "{BIN_PATH}clang++" [
set COMPILER as "clang++"
]
for specific "linux" [
println "OS: GNU/Linux"
]
for specific "freebsd" [
println "OS: FreeBSD"
]
for specific "windows" [
println "OS: Windows"
]
for specific "openbsd" [
println "OS: OpenBSD"
]
for argument "build" [
use exec "{COMPILER} {SOURCE_FILE} -o {OUTPUT}"
for exists $OUTPUT [
println "Build succeeded"
]
unset COMPILER_PATH
use signal "exit"
]
use signal "exit"
]
```
### Other implementations?
* [For C++ as ElitedotC++](https://github.com/ferhatgec/elite.cpp)
* [Gretea's Runtime uses Elite](https://github.com/ferhatgec/gretea)
## Transpiler back-ends? (oldest-)
* [Python](https://github.com/ferhatgec/elitetopy)
* [C++](https://github.com/ferhatgec/elitetopp)
* [C](https://github.com/ferhatgec/elitetoc)
* [Rust](https://github.com/ferhatgec/elitetors)
* [Bash](https://github.com/ferhatgec/elitetobash)
* [Perl](https://github.com/ferhatgec/elitetoperl)
* [Go](https://github.com/ferhatgec/elitetogo)
* [D](https://github.com/ferhatgec/elitetod)
* [Scala](https://github.com/ferhatgec/elitetoscala)
### Elitebuild licensed under the terms of MIT License.