A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.
Project description
R# - RSX-R
A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.
RSX Logo
RSX Icon
Requirements
- Python 3.10 or higher
Getting Started
How to install
Windows (Installs the RSX-R python library)
.\install.bat
Linux (Installs the RSX-R python library)
./install.sh
Examples
Hello, World!
include "rsxrio" : *;
// using namespace std;
int main() {
std::rout("Hello, World!", std::endl());
return 0;
}```
## Factorial and Fibonacci
```c++
include "rsxrio" : *;
int factorial(int n) {
if (n == 1) return n;
return factorial(n - 1) * n;
}
int fibonacci(int n) {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
int main() {
int n;
n = 5; printf("factorial(%d) = %d\n", n, factorial(n));
n = 8; printf("fibonacci(%d) = %d\n", n, fibonacci(n));
return 0;
}```
# Libraries
- rsxrio
- rsxrmath
- rsxrglfw
- rsxrgl
- rsxr-rvr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rsxr-0.0.2.tar.gz
(1.3 MB
view details)
File details
Details for the file rsxr-0.0.2.tar.gz
.
File metadata
- Download URL: rsxr-0.0.2.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66fc3c2b1479534b4eabef4d3578f8024cd0d19739a94eebbe9fce62b880e13 |
|
MD5 | 4f3c14161cfd71e6a8b82d1c2643f1ca |
|
BLAKE2b-256 | bba29809beddbfe4c899730d34249fc44e45927c1c46849369c26a9c89e95831 |