rahultesla / Rudito

This is a programming language which needs simple and different approch to code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rudito

This is a turing-complete programming language which needs different approach to code.
This programming language is in alpha stage.
You can read the compiler code to know it's full functionality 😜.

Concept

This language has Three components

  • Head
  • Execution
  • Tail

Head

Head component is like a checkpoint in code so that code execution will be redirected to this point whenever need.
It is represented by "/ /" delimiter.

Execution

Execution is the main component where checking conditions and executing function happens.
It is represented by [ ( ) ].
[function1(condition)function2] is the syntax for this component.
Here function1 is executed if condition returns true else it executes function2.
If a function needs to be executed without checking any condition "()" is not required.

Tail

Tail is the component which decides location of next code.
It is represented by "| |" delimter.
The name of Head component needs to be given inside the delimeter.
By default compiler goes to next line if Tail component is missing.

Data Types Supported

Integer

Boolean

Float

String

Examples

You can refer primechecker.rdt and evennumber.rdt as example.

Documentation still in progress 🚧

About

This is a programming language which needs simple and different approch to code.


Languages

Language:Python 100.0%