this post was submitted on 02 May 2024
401 points (92.8% liked)
Programmer Humor
19817 readers
81 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It was a markup language until someone decided to parse and execute it as a programming language. This person should be watched for other deranged behavior.
I use XML as markup language, what kind of deranged person thought to turn it into a programming language? My problems with the Lua API led me down the rabbit hole of making my own VM and implementation, not looking at a markup languge, then go "what if I used this for scripting?".
When they make XML do these things (or the way Github Actions does it with YAML), they're essentially creating a representation of the AST that the compiler would make internally from a mini language. So there's a few possibilities: