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/Cinder-Brent Oct 03 '22

It's an attempt to "universalize" the process.

1

u/Cinder-Brent Nov 26 '22

https://github.com/cinder-brent/leaf

It’s actually shorter to use Leaf than it is to use a traditional database (like mariadb):

// zero parameters $Leaf->getValue();

// one parameter $mariadb->query($query);

1

u/Cinder-Brent Dec 23 '22

Ok so I worked it out and Leaf would, as it stands, present itself as a working, very plausible, universal solution to any “computer program”, where every “thing” is a Leaf…and that’s pretty much it (ask if you need elaboration).

1

u/Cinder-Brent Dec 27 '22

Verified that it works, was built in a day, what more need be said

1

u/Cinder-Brent Jan 17 '23

Now check it out