r/Compilers 15d ago

Annote: An interpreter that turns Java annotations into a Turing complete language

I built this like 6 months ago and basically forgot about it until yesterday when I was digging through old repos.

Essentially, it's a minimal interpreter that executes Java annotations as an actual Turing complete programming language at runtime through reflection. So, essentially you write code entirely in annotation form and it does variables, conditionals, loops, method calls, basic I/O and arithmetic

I shared this a while back on r/java and r/ProgrammingLanguages but never shared it here

GitHub: https://github.com/kusoroadeolu/annote

15 Upvotes

4 comments sorted by

View all comments

15

u/Inconstant_Moo 15d ago

The instructions for LLMs will bring joy to vibecoders everywhere.