An open API service indexing awesome lists of open source software.

https://github.com/ibnsultan/sahil

Swahili Programming language, It is an implementation of Basic Programming Language using Python and Swahili Lexical terms
https://github.com/ibnsultan/sahil

basic-programming-language programming-language-design programming-language-development python sahil swahili swahili-basic swahili-programming-language swahili-python swahilipython

Last synced: 3 months ago
JSON representation

Swahili Programming language, It is an implementation of Basic Programming Language using Python and Swahili Lexical terms

Awesome Lists containing this project

README

        

[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ibnsultan/sahil)

# sahil
Swahili Programming language written over Python
Sahil is an Implementation of BASIC programming language using python and swahili lexical terms, It is a sister language of swap(predecessor)

**Current State:**
- uses a tree structure to do solve simple expressions
- It supports basic BODMAS operations
- variable declaration, initiation and redeclaration
- The use of operators in expressions
- The use of boolean expressions
- Implement the basic control structure using the conditional and iteration statements
- Functions declaration and function calls

## To DO : `now dealing with the list`
- [X] lexer
- [x] parser
- [x] Interpreter
- [x] Variables
- [x] Operators
- [x] Logical operators
- [x] Comparison operators
- [ ] Control Structures
- [x] if-else condition
- [x] for and while loop
- [ ] Return, Continue and Break
- [ ] Functions
- [x] User-made functions
- [ ] Built-in functions
- [x] Strings
- [ ] multilines statements
- [ ] Lists
- [ ] Run statements and Comments

## INTERFACE
Sahil uses a CLI interface, as for now only the Read-evaluate-print-loop(**Repl**) mode is supported,
Repl enable you to interactively execute sahil's code line by line without requiring to write a entire script file