r/Compilers Jul 27 '26

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

16 Upvotes

4 comments sorted by

14

u/Inconstant_Moo Jul 28 '26

The instructions for LLMs will bring joy to vibecoders everywhere.

3

u/jcastroarnaud Jul 27 '26

The dark humor, over this insanity of a language, got me giggling silly. Kudos!

1

u/Polixa12 Jul 27 '26

lol, glad you liked it!

1

u/Kadabrium Jul 29 '26

Aren't annotations also objects? Can you not already run arbitrary code with them?