Skip to content

Latest commit

 

History

History
84 lines (74 loc) · 913 Bytes

README.md

File metadata and controls

84 lines (74 loc) · 913 Bytes

DaduScript

This is a programming language that I've created by myself using the basic tree concepts in Python.

Operations

We can perform basic arithmetic, Logical and Comparision operations directly here:

addition:

>>> 1 + 2
3

substraction:

>>> 1 + 2
3

multiplication:

>>> 1 * 2
2

division:

>>> 1 / 2 #division
0.5

modulos:

>>> 1 % 2
1

and operation:

>>> 1 and 2
1

or operation:

>>> 1 or 2
1

not operation:

>>> not 1
0

greater than operation:

>>> 1 > 2
0

less than operation:

>>> 1 < 2
1

equals operation:

>>> 1 == 2
0

not equals operation:

>>> 1 != 2
1

greater than or equals operation:

>>> 1 >= 2
0

less than or equals operation:

>>> 1 <=> 2
1