-
Notifications
You must be signed in to change notification settings - Fork 1
Home
PriyanshuRauth edited this page Aug 30, 2025
·
2 revisions
RRL is a lightweight and beginner-friendly programming language designed for robotics and automation. Its goal is to make robotics programming accessible to anyone, from hobbyists to researchers, while still being flexible enough to support advanced projects.
🔹 Simple Python-like syntax 🔹 Built-in robotics simulation support 🔹 Easy to extend for custom hardware
Clone the repository:
git clone https://github.com/PriyanshuRaut/RRL_OpenSource.gitRun an RRL program:
python rrl.py examples/hello.rrl# This is a comment
x = 10 # Inline comment
x = 10
y = 2.5
name = "R"
flag = true
if x > 5
display("x is big")
elif x == 5
display("x is exactly 5")
else
display("x is small")
endif
repeat 3
display("Hello!")
endrepeat
while x > 0
display("Counting:", x)
x = x - 1
endwhile
def greet(name):
display "Hello, " + name
enddef
greet("RRL User")
- RobotSim → a built-in simulation object for testing robotics code without hardware.
- Display function → simple text or data output.
- Def/Enddef → define reusable functions.
- Repeat / Loop → easy looping constructs for beginners.
- Math & Logic → supports arithmetic, comparisons, and logical operators.
display("Hello, World!")
robot.move(10)
robot.rotate(90)
display("Movement complete!")
display(robot)
- Add hardware driver support (Arduino, Raspberry Pi)
- Extend standard library (math, strings, lists)
- GUI simulator for robot movements
- Stable Public Version (Compiler based)
- Fork the repository
- Create your feature branch (
git checkout -b feature-name) - Commit your changes (
git commit -m 'Added feature X') - Push to the branch (
git push origin feature-name) - Open a Pull Request
RRL is released under the MIT License.