All Projects → thepushkarp → rathilang

thepushkarp / rathilang

Licence: MIT license
A small gift for someone who did big things (Python Package)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to rathilang

esoo
Like the Programming Languages Zoo but with esoteric languages.
Stars: ✭ 18 (+28.57%)
Mutual labels:  brainfuck, esoteric
Headache
Programming Language that compiles to 8 Bit Brainfuck
Stars: ✭ 59 (+321.43%)
Mutual labels:  brainfuck, esoteric
FasterBrainfuckProgramming
This project is to make brainfuck language programming easier, faster and more powerful .. everything is made out of functions making it very easy to port to other languages
Stars: ✭ 19 (+35.71%)
Mutual labels:  brainfuck
motivational-numerology
Simple web page to calculate and interpret the numerology numbers derived from your name and birth date (in English, French, and Turkish).
Stars: ✭ 23 (+64.29%)
Mutual labels:  esoteric
BF-it
A C-like language to Brainfuck compiler, written in Python
Stars: ✭ 101 (+621.43%)
Mutual labels:  brainfuck
malbolge-lisp
A lightweight (350MB) Lisp interpreter in Malbolge Unshackled, often dubbed the hardest turing complete programming language.
Stars: ✭ 348 (+2385.71%)
Mutual labels:  esoteric
uwuscript
World's first uwu-oriented language.
Stars: ✭ 75 (+435.71%)
Mutual labels:  brainfuck
bf256
Brainfuck compiler under 256 bytes in size.
Stars: ✭ 21 (+50%)
Mutual labels:  brainfuck
omgrofl-interpreter
Omgrofl interpreter
Stars: ✭ 16 (+14.29%)
Mutual labels:  esoteric
smpl
A superset of brainfuck with dynamic memory management.
Stars: ✭ 22 (+57.14%)
Mutual labels:  brainfuck
brainfuck-game-engine
A brainfuck game engine -- because life wasn't hard enough before
Stars: ✭ 22 (+57.14%)
Mutual labels:  brainfuck
bfpile
Optimizing Brainfuck compiler, transpiler and interpreter
Stars: ✭ 19 (+35.71%)
Mutual labels:  brainfuck
bfboot
A full brainfuck to bootable OS image compiler.
Stars: ✭ 35 (+150%)
Mutual labels:  brainfuck
flufflepuff
Fluffle Puff Programming Language
Stars: ✭ 23 (+64.29%)
Mutual labels:  brainfuck
nuna
(Our virtual) nuna language details
Stars: ✭ 55 (+292.86%)
Mutual labels:  esoteric
bfloader
🧠 Brainfuck IDE and interpreter in 512 bytes. (boot sector)
Stars: ✭ 41 (+192.86%)
Mutual labels:  brainfuck
AshBF
Over-engineered Brainfuck optimizing compiler and interpreter
Stars: ✭ 14 (+0%)
Mutual labels:  brainfuck
brainsuck
A simple optimizing Brainfuck compiler (used as the demo for my QCon Beijing 2015 talk)
Stars: ✭ 55 (+292.86%)
Mutual labels:  brainfuck
asmbf
The only true brainfuck-targetting assembler.
Stars: ✭ 81 (+478.57%)
Mutual labels:  brainfuck
brainfuck
Brainfuck interpreter companion to the brain programming language
Stars: ✭ 32 (+128.57%)
Mutual labels:  brainfuck

RATHILANG - The Allstack Programming Language

PyPI Travis (.com)


A brainfuck derivative based on the the characteristics of Aashutosh Rathi

Syntax

rathilang brainfuck description
jiren + increment the byte at pointer
bakar - decrement the byte at pointer
allstack [ if pointer is zero, jump to matching developer
developer ] if pointer is nonzero, jump to matching allstack
rathi > increment the data pointer
aashutosh < decrement the data pointer
abeteri , input of one byte into pointer
pitega . output the byte at pointer

Installation

stable:

pip install rathilang

or bleeding edge...

git clone https://github.com/thepushkarp/rathilang.git
cd rathilang

python setup.py install

Usage

rathilang path/to/file.baka

File Extention

A rathilang program must be stored in a file with a .baka extention because rathilang doesn't considers any other file worthy enough.

API Usage

import rathilang

sourcecode = """
    jiren jiren jiren jiren jiren jiren jiren jiren jiren jiren allstack rathi jiren rathi jiren jiren jiren
    rathi jiren jiren jiren jiren jiren jiren jiren rathi jiren jiren jiren jiren jiren jiren jiren jiren jiren
    jiren aashutosh aashutosh aashutosh aashutosh bakar developer rathi rathi rathi jiren jiren pitega rathi
    jiren pitega jiren jiren jiren jiren jiren jiren jiren pitega pitega jiren jiren jiren pitega aashutosh
    aashutosh jiren jiren pitega rathi bakar bakar bakar bakar pitega rathi bakar bakar bakar bakar bakar bakar
    bakar bakar bakar bakar pitega jiren jiren jiren jiren jiren jiren jiren jiren jiren jiren jiren jiren jiren
    jiren jiren jiren jiren pitega bakar bakar bakar pitega aashutosh aashutosh jiren pitega aashutosh jiren
    jiren jiren jiren jiren jiren jiren jiren jiren jiren pitega"""

# or use sourcecode = rathilang.load_source("FILENAME.allstack") to load from file

rathilang.evaluate(sourcecode)

Development

When developing, use pipenv to install needed tools.

pipenv install

pipenv run black .

pipenv run python -m rathilang tests/hello-devs.baka

Thanks

Special thanks to Elliot Chance for providing the base implementation of this and Pikalang for providing the implementation on top of which this repo is made.

Disclaimer

This is a small gift for Aashutosh Rathi who did big things for the institute and me. The pikalang repository served as an inspiration for me. This repository is protected under fair use.

Made with ❤️ by Pushkar Patel

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].