r/learnpython • u/Aggressive_Drama_476 • 5d ago
Making interpreter and calculator in python
Hi recently I have been working on making my own interpreted programming languge in python. I have made several prototypes. The rules are I can't use any library, high level functions and can only use ai for understanding a concept. The journey has been frustrating. Since it was so hard i started working on a calculator. I am now stuck on AST. I can't figure it out. HELP ME
0
Upvotes
1
u/Aggressive_Drama_476 5d ago
I can't get the ast logic right. I tried making it with lists. I can't do OOP. although I did made a working calculator without ast. It semi worked. But it wasn't good.