Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aermoss/rsx-r
A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.
https://github.com/aermoss/rsx-r
compiler cross-platform general-purpose llvm llvmlite multi-paradigm programming-language rsharp rsxr statically-typed
Last synced: 29 days ago
JSON representation
A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.
- Host: GitHub
- URL: https://github.com/aermoss/rsx-r
- Owner: Aermoss
- License: mit
- Created: 2022-10-23T20:25:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T20:18:37.000Z (11 months ago)
- Last Synced: 2024-09-22T16:33:15.766Z (about 2 months ago)
- Topics: compiler, cross-platform, general-purpose, llvm, llvmlite, multi-paradigm, programming-language, rsharp, rsxr, statically-typed
- Language: Python
- Homepage:
- Size: 1.85 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# R# - RSX-R
A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.# RSX Logo
![R# Logo](rsxr/logo.png)# RSX Icon
![R# Icon](rsxr/icon.png)# 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!
```c++
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