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 = 15
price = 49.99
is_active = True
items = ["apple", "banana", "cherry"]if age > 18:
print("Adult")
else:
print("Minor")for i in range(5):
print(i)
while age < 18:
age += 1def greet(name):
return "Hello, " + name
print(greet("ProX"))class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def info(self):
return f"{self.name} is {self.age} years old."
p = Person("Alice", 20)
print(p.info())import math
print(math.sqrt(16)) # 4.0
print(math.pow(2, 3)) # 8.0with open("file.txt", "w") as file:
file.write("Hello, ProX!")import json
data = {"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 = lambda x: x * x
print(square(5)) # 25numbers = [x for x in range(10) if x % 2 == 0]
print(numbers) # [0, 2, 4, 6, 8]try:
x = 10 / 0
except ZeroDivisionError:
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! π