DEV Community

ABDULAHAD SHAIKH
ABDULAHAD SHAIKH

Posted on

Building an Interpreter: Variables, Loops, and Graphics in Ahad Language

I started building a small programming language called "Ahad Language" using Python as the backend.

Right now it supports:

  • variables
  • loops
  • conditions
  • custom modules
  • math functions
  • graphics support
  • simple interpreter execution

Example syntax:

use ahad_math

store x = square(5)

show(x)
Enter fullscreen mode Exit fullscreen mode

Building even a tiny interpreter taught me a lot about parsing, execution flow, and language design.

Still learning, but seeing my own syntax execute for the first time felt amazing 😄

Top comments (0)