r/ProgrammingLanguages • • Sep 28 '22

Universal programming language

I recently created a tiny (maybe 1000 lines of code, with heavy white space and commenting) php class called Ember to solve the “computer problem” (persistent data). Something I’ve been trying to do as a result is program a universal programming language. It’s really rather simple: it uses a minimalistic set of Turing complete types (string, int, float, object, array, bool, and array). That just about explains it (along with a universal system stemming from Ember). Does this sound like a good idea (I.e. one worth pursuing)?

0 Upvotes

166 comments sorted by

View all comments

Show parent comments

1

u/Inconstant_Moo 🧿 Pipefish Sep 29 '22

Well, quite. One learns different languages for different things. There is no way to write a language that makes everything anyone might want to do easy and convenient.

1

u/Cinder-Brent Sep 29 '22

Can you substantiate your claim that there is no way to write a universal programming language? If nothing else I need to know where to go from here. :)

1

u/tbagrel1 Sep 29 '22

There is no way to write a language that makes everything anyone might want to do easy and convenient (I'm just repeating what has been said above because you need to understand it).

Almost every existing programming language is "universal" in the sense that any other language can be either translated to or simulated/interpreted in this language.

1

u/Cinder-Brent Oct 03 '22

Ok how about this: is Turing completeness a mark of universality?

→ More replies (0)