Universal Programming Language (UPL)

+1 badlogicgames

I think my post just now was too negative. Yes, sometimes it is good to explore big ideas. These sorts of things can be great learning projects.

I’ve never heard that story. Care to share? :slight_smile:

http://bit.ly/OUaY1X :persecutioncomplex:

Cruel, Riven. Very cruel.

There are already so many scripting solutions, even available in the JDK itself. After a few weeks of vacation with total detachment from everything programming related I conclude that it is time for more articles about actual game development and less about technical wizardry. Inventing your own scripting language is very cool (been there, done that) but it just doesn’t help you progress towards creating a game as you’ll be busy maintaining that very complex piece of tech and not writing game logic.

My premature goals for 2013: focus more on using stuff that already exists in stead of constantly wanting to roll my own. I already started with LibGDX which I adore, adding scriptability to a game using existing tools is also an interesting query to research, answer and document. Would Groovy work I wonder? JRuby perhaps?

Nobody in here needs scripts.

There, I said it.

Now get on with making a game!

Cas :slight_smile:

You can create games with stick-figures too, but it is just a nice addition to have stuff consisting of colored pixels that actually represent something and crud :wink:

Still, in this case you’re right. Its technical wizardry that most games can do without.

Reminds me of something someone said in these forums, don’t remember who…

Something along the lines of “We get all the wrong things done” ;D

I’ve made this into a side project as a hobby… at least I won’t go insane attempting it.

[quote=“gimbal,post:27,topic:39774”]
I think I said in that other recent thread about scripting that scripting was designed to help release C++ programmers from the horror of trying to make games in a systems-level programming language.

Cas :slight_smile:

One reason to use it, most certainly. I’ve seen some other appliances though, such as for the purpose of not having to hard code everything into the game itself but allow certain things to be open even after deployment. Most features requiring scripting only become useful when you want to open up your game to modding however, which most of us should not be doing if we want to actually finish something sometime. I see some potential in games that have RPG elements though, worlds/levels will often have “business logic” tied to them. That logic might just be in the form of scripts that can be weaved into the level/world data in stead of your application code.

@Drhalfway: really I’ve been where you are. But you invite a murderer into your home called “context switching”; a murderer of focus to be more precise. Something as big as a scripting language AND the interpreter to go with it can hardly be considered a ‘side project’.

The notion of The One True Programming Language has been a holy grail since the dawn of programming, and seen by almost everyone as a chimera only shortly after that. It simply isn’t going to happen by any wild stretch of the imagination.

Still, I’d say anyone who wants to write a new language should give it a try; it’s a hell of a learning experience. I’d keep the description of the project light on superlatives like “Universal” though, unless you’re prepared to weather a lot of scorn from all corners.

Somehow missed the follow-ups here:

Learning experience = great…assuming you have the time. You can get the same learning experience with an achievable goal however. That way, even if you fail, you’re much more likely to have something usable. Setting “high targets” is all well and good but remember Icarus.

Universal language = LISP family. The grail was discovered in 1958 and some people haven’t noticed. Or they have and it isn’t what they expected so they keep attempting to make it more pretty…and fail. The OO model is really awful…but it works well with our little human brains and that’s why it’s so useful. (as an aside…why oh why don’t people lovingly accept M-expressions.)

@badlogicgames: The trick is to know when you’re being “crazy like a fox” or just plain crazy.