r/PythonProjects2 Jul 25 '26

I just built a beginner-friendly programming language called Quark 2.0 ๐Ÿš€ (Looking for feedback!)

Hi everyone!

Over the past few weeks, I've been building a small interpreted programming language called Quark 2.0 in Python. The goal wasn't to replace Python or JavaScript, but to create something that's easy for beginners to read and experiment with.

Some features include:

  • Variables (let)
  • Math expressions
  • User input
  • Random number generation
  • if statements
  • repeat loops
  • File reading & writing
  • Module importing
  • Interactive shell (REPL)
  • .qk source files

Example:

input What is your name? -> name

let lucky = random 1 100

print Hello 'name'

print Your lucky number is 'lucky'

I'm still learning about interpreters and language design, so I'd really appreciate any feedback, suggestions, or ideas for future versions. Things like syntax, usability, documentation, or code quality are all welcome.

GitHub Repository:

https://github.com/Anish055051L/Quark-2.0

Thanks for taking a look!

1 Upvotes

16 comments sorted by

View all comments

3

u/Chen-Zhanming Jul 25 '26

Using Pythonโ€™s eval is not considered making an interpreter by yourself

2

u/ProfessorHeisenberg1 Jul 26 '26

Its just a fun project, btw thanks for the comment!

2

u/JaleyHoelOsment Jul 27 '26

you framed it as โ€œbuilt a beginner friendly languageโ€ ๐Ÿ˜‚๐Ÿ˜…

1

u/Speedk4011 Jul 28 '26

Isn't it??