Rave

所属分类:collect
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2023-07-16 12:02:06
上 传 者sh-1993
说明:  编译和静态类型编程语言,
(Compiled and statically typed programming language,)

文件列表:
.vscode/ (0, 2024-01-02)
.vscode/settings.json (2420, 2024-01-02)
LICENSE (16727, 2024-01-02)
Makefile (413, 2024-01-02)
examples/ (0, 2024-01-02)
examples/first.rave (36, 2024-01-02)
examples/hello_world.rave (65, 2024-01-02)
examples/test_input.rave (72, 2024-01-02)
examples/test_input2.rave (52, 2024-01-02)
install.sh (563, 2024-01-02)
options.json (28, 2024-01-02)
specifications/ (0, 2024-01-02)
specifications/grammar/ (0, 2024-01-02)
specifications/grammar/commands.md (4461, 2024-01-02)
specifications/grammar/declarations.md (244, 2024-01-02)
specifications/grammar/declarations/ (0, 2024-01-02)
specifications/grammar/declarations/aliases.md (564, 2024-01-02)
specifications/grammar/declarations/functions.md (828, 2024-01-02)
specifications/grammar/declarations/funcvarparams.md (1415, 2024-01-02)
specifications/grammar/declarations/namespaces.md (789, 2024-01-02)
specifications/grammar/declarations/structures.md (1917, 2024-01-02)
specifications/grammar/declarations/variables.md (464, 2024-01-02)
specifications/grammar/operators.md (3966, 2024-01-02)
specifications/grammar/types.md (510, 2024-01-02)
specifications/intro.md (758, 2024-01-02)
specifications/std/ (0, 2024-01-02)
specifications/std/cstring.md (288, 2024-01-02)
specifications/std/io.md (1343, 2024-01-02)
specifications/std/vector.md (1227, 2024-01-02)
src/ (0, 2024-01-02)
src/BigInt.cpp (36156, 2024-01-02)
src/compiler.cpp (15144, 2024-01-02)
src/include/ (0, 2024-01-02)
src/include/BigInt.hpp (4190, 2024-01-02)
src/include/compiler.hpp (918, 2024-01-02)
... ...

Rave Language

Rave is a statically typed, compiled, procedural, general-purpose programming language. ## "Hello, world!" Example ```nasm import void main { std::println("Hello, world!"); } ``` You can compile are examples using `rave directory/of/Rave/examples/necessary_example.rave -o preffered/directory/necessary_example` ## Dependencies * `llvm-15` **You can also use LLVM from 11 to 14.** * `clang-11` **You can also use Clang from 10 to 13.** * Make * mingw (if you need cross-compilation or you are using Windows) ## Building/Running To install dependencies, you can try running `install.sh` (Arch Linux/Ubuntu/Debian) or `install.ps1` (Windows). If the installer does not work well on your system, you can try to install all the dependencies yourself. After install write `make` in the Rave directory. ### Cross-compilation programs from Linux for Windows You just need to set the compiler "i686-w64-mingw32-gcc-win32" in options.json, and add "-t i686-win32" to your build command. ### Building in Termux 1. Install llvm-15 from [Termux User Repository](https://github.com/termux-user-repository/tur): ```bash $ pkg i llvm-15 ``` 2. Apply termux-specific patch for LLVM: ```bash $ ./termux-llvm-patch ``` 3. Build using `make`. ## Reference The reference is in `reference` directory. Bindings Discord Web-site

近期下载者

相关文件


收藏者