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
- Host: GitHub
- URL: https://github.com/ibnsultan/sahil
- Owner: ibnsultan
- Created: 2021-01-04T09:26:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-17T14:08:36.000Z (over 4 years ago)
- Last Synced: 2025-03-17T17:39:59.839Z (3 months ago)
- Topics: basic-programming-language, programming-language-design, programming-language-development, python, sahil, swahili, swahili-basic, swahili-programming-language, swahili-python, swahilipython
- Language: Python
- Homepage:
- Size: 90.8 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
[](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