While Drib may look like a normal programming language, it does not support numbers in the traditional sense. All numbers must be stored as strings, and arithmetic operations are performed using built-in functions that operate on these string representations. That is what makes Drib special; that is what makes Drib esoteric.
- Python 3.11
Note: Drib may work with other Python versions, but this has not been tested.
-
Clone the repository to your local machine:
git clone https://github.com/drib-lang/adi.git
-
Navigate to the project directory:
cd di -
A virtual environment is not required.
To start the Drib REPL, run:
python3 src/drib.pyTo execute a Drib file, run:
python3 src/drib.py examples/fibonacci.dribTo generate a Python file, run:
python3 src/drib.py examples/fibonacci.drib -o fibonacci.pyThis will not execute the code.
The following features are planned for future releases, but are not yet implemented:
- Loops: Support for loops.
- Lists: Support for list data structures and related operations.
- Dictionaries: Support for dictionary (key-value) data structures and related operations.
- Image Processing: Capabilities for handling and processing images within Drib programs.
If you have suggestions for additional features, feel free to open an issue or contribute!