W is an open source interpreted programming language that is easy to develop in – lightweight and educational, built in Python for quick scripting and learning.
Code intuitively with simple commands like
show "Hello World"orwhile x > 0. From basics to loops and file I/O.
- Basics:
show "text",int x 5, math ops like3+2=result - Control Flow:
if,while,redo, functions withfuncandcall - Utils: Input, random, time/date, sleep, file read/write (
read,write) - Data Structures: Arrays with
array,push,pop,leng
-
Install dependencies:
- Python 3.10+ (
sudo pacman -S pythonorsudo apt install python3)
- Python 3.10+ (
-
Clone the repository:
git clone https://github.com/Wicin-134/W cd W -
Run the interpreter (current version: 0.9.1):
python 0.9.1.py
-
Install Python:
- Download Python 3.10+ from python.org.
-
Download W:
- Clone or download from GitHub.
-
Run:
python 0.9.1.py
Note: This repo archives old versions (0.1 to 0.9.0). Always pick the newest version (0.9.1) – don't use outdated ones!
- Syntax examples and features in the repo's version files (e.g., check
0.9.1.pyfor lexer/AST details). - Work in progress – contribute to docs!
