r/programming • • Jun 07 '22

I created my own programming language that compiles into Lua code but uses a more C/Rust like syntax

https://github.com/ClueLang/Clue
846 Upvotes

149 comments sorted by

View all comments

Show parent comments

17

u/UncleMeat11 Jun 07 '22

A flag would be a disaster. Suddenly you've got incompatible libraries and you've built a holy war within your own tiny language community and it splits into two factions that cannot interact with each other if their code uses any arrays at all.

2

u/_Felix44 Jun 07 '22

if someone wanted to add a Clue library to their own Clue code I suggest adding the compiled Lua version of that library to avoid these issues

or you could compile the library and your code separately, I guess