ProX is a high-level, Python-like programming language designed for modern development. It features simplicity, power, and flexibility, making it ideal for both beginners and professionals.
✅ Python-like Syntax – Easy to read and write.
✅ 32 Keywords – Designed for efficiency.
✅ 50 Built-in Functions – Predefined functions for various operations.
✅ 12 Data Types – Strong and dynamic typing support.
✅ 32 Operators – Powerful mathematical and logical operations.
✅ 5 Special Constants – Unique constants for enhanced functionality.
✅ PRM (ProX Repository Manager) – Manage ProX packages efficiently.
✅ Cross-Platform – Works on Windows, macOS, and Linux.
✅ Custom Standard Library – Extensive modules for development.
✅ Fast Execution – Optimized for performance.
✅ Open Source – Community-driven and actively developed.
Install ProX with a single command:
prm install proxClone the repository and install manually:
git clone https://github.com/yourusername/prox.git
cd prox
python setup.py installVerify installation by running:
prox --versionCreate a file named hello.prox:
print("Hello, ProX!")Run the script:
prox hello.proxname="ProX"age=15price=49.99is_active=Trueitems= ["apple", "banana", "cherry"]ifage>18:
print("Adult")
else:
print("Minor")foriinrange(5):
print(i)
whileage<18:
age+=1defgreet(name):
return"Hello, "+nameprint(greet("ProX"))classPerson:
def__init__(self, name, age):
self.name=nameself.age=agedefinfo(self):
returnf"{self.name} is {self.age} years old."p=Person("Alice", 20)
print(p.info())importmathprint(math.sqrt(16)) # 4.0print(math.pow(2, 3)) # 8.0withopen("file.txt", "w") asfile:
file.write("Hello, ProX!")importjsondata= {"name": "ProX", "version": 1.0}
json_str=json.dumps(data)
print(json_str)PRM allows you to install and manage packages easily.
prm install package_nameprm listprm remove package_namesquare=lambdax: x*xprint(square(5)) # 25numbers= [xforxinrange(10) ifx%2==0]
print(numbers) # [0, 2, 4, 6, 8]try:
x=10/0exceptZeroDivisionError:
print("Cannot divide by zero!")prox myscript.proxprox
>>> print("Hello, ProX!")We welcome contributions from the community!
- Fork the repository
- Create a new branch (
feature-name) - Make your changes
- Commit and push
- Open a pull request
If you find a bug, please open an issue on GitHub.
This project is licensed under the MIT License.
For any questions, reach out at:
📧 Email: programmerkr.123@gmail.com
🌐 Website: prox.com
📌 GitHub: github.com/ProgrammerKR
Happy Coding with ProX! 🎉