Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Aermoss authored Jan 14, 2023
1 parent e991d70 commit 1b061fe
Show file tree
Hide file tree
Showing 27 changed files with 2,336 additions and 145 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Yusuf Rençber
Copyright (c) 2023 Yusuf Rençber

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 7 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
include rsxr/*
include rsxr/asm/*
include rsxr/obj/*
include rsxr/bin/*
include rsxr/lib/*
include rsxr/include/rsxr-rvr/*
include rsxr/include/rsxrgl/*
include rsxr/include/rsxrglfw/*
include rsxr/include/rsxrio/*
include rsxr/include/rsxrmath/*
44 changes: 42 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# R# - RSX-R
A compiled statically typed multi paradigm general purpose programming language designed for cross platform applications.

# R# Logo
# RSX Logo
![R# Logo](rsxr/logo.png)

# RSX Icon
![RSX Icon](rsxr/icon.png)
![R# Icon](rsxr/icon.png)

# Requirements
- Python 3.10 or higher
Expand All @@ -21,3 +21,43 @@ A compiled statically typed multi paradigm general purpose programming language
```
./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
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def main(argv):
shutil.rmtree("dist")

if __name__ == "__main__":
sys.exit(main(sys.argv))
sys.exit(main(sys.argv))
Binary file added rsxr/bin/openvr_api.dll
Binary file not shown.
Loading

0 comments on commit 1b061fe

Please sign in to comment.