/Baji-Marathi-Programing-Language

बाजी (baji) high-level,dynamically typed, interpreted first Marathi programing language.

Primary LanguagePythonMIT LicenseMIT

बाजी (Baji)- Marathi Programing Language

Kalaam logo

बाजी (baji) high-level,dynamically typed, interpreted first Marathi programing language.

Quick Start

Hello World

दाखवा("नमस्कार विश्व")

Fibonacci Series

कार्य फिबोनॅकी(क)
	जर क<2 तर
		परत 1
	नाहीतर
		परत फिबोनॅकी(क-1) + फिबोनॅकी(क-2)
	शेवट
शेवट



वारंवार क=0 ते 24 तर
    दाखवा(क)
    दाखवा(" ")
	दाखवा(फिबोनॅकी(क))
	दाखवा("\n")
शेवट


दाखवा("\n")

Save file with .baji extension.
RUN

baji example.baji

Docs

refer DOCS.md

Installation

  1. Download binary from Here

    • RELEASE

    • Windows baji.zip

    • Linux baji.tar

    • Mac Comming Soon...

  2. Winodows
    Unzip baji.zip move baji.exe to suitable folder path

    C:/baji/baji.exe -> recommanded
    

    Then set environment variables guide

  3. Linux/Mac Download baji.tar then run this command

    tar -xvf baji.tar && sudo mv .baji /bin/ && echo 'export PATH="$PATH:/bin/.baji/"' >> ~/.bashrc && source ~/.bashrc
    

    note : you need password to run this command also change bashrc to zshrc if you are using zsh shell

  4. Run File

    baji example.baji
    

Build

Run With Python

python3 shell.py example.baji

Build executable

Use pyinstaller to genrate executable

    python3 -m pyinstller shell.py -n baji



Todo List

  • Refactor
  • print function with multiple args
  • Class Object
  • Replace block Structure with {}
  • Web/Js Version
  • syntax highlighting

Reporting Bugs

Create issue on github or you can also content me on 00shxf@gmail.com

Contributions

Any contribution is welcome, drop me a line or file a pull request.

Licenses

Refer LICENSE

ko-fi