I was in class today and I started thinking, what if someone figured out a way to make Java “mods”, eg, they could add little pieces of their own syntax directly into the language, not as a library. There could be a plugin for Eclipse that would be able to grab the mod from a supplied URL and install it into your Java installation. Or maybe even a Linux application and Windows one. And a Mac app at that.
A little example:
I want to be able to add in unsigned ints if you are writing something for networking or whatever so I program a little “mod” in, I don’t know, Java?
I really have no clue how you would develop something like that, so that’s why I’m asking.
Maybe even Oracle comes out with a little dev library that you can use to create new primitive data types or whatever else. Maybe your own customized version of arrays, so on and so forth. Now I’m just dreaming…
Is there such a thing?