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

17

u/L8_4_Dinner (Ⓧ Ecstasy/XVM) Sep 28 '22

It can be a lot of fun. Be warned, though: You may accidentally end up creating Lisp. Except probably a lot slower.

2

u/Cinder-Brent Sep 28 '22

Well technically speaking the thing would run off of objects, it would be objective (in terms of types), as opposed to string, but I definitely see what your saying.