r/computerscience • • Nov 10 '25

General What can be considered a programming language?

From what I know, when talking about programming languages, we usually mean some sort of formal language that allows you to write instructions a computer can read and execute, producing an expected output.

But are there any specific criteria on here? Let's say a language can model only one single, simple algorithm/program that is read and executed by a computer. Can it be considered a programming language?

By a single and simple algorithm/program, I mean something like:

  • x = 1

or, event-driven example:

  • On Join -> Show color red

And that's it, in this kind of language, there would be no other possible variations, but separate lexemes still exist (x, =, 1), as well as syntax rules.

45 Upvotes

66 comments sorted by

View all comments

Show parent comment

1

u/GoldenMuscleGod Nov 12 '25 edited Nov 12 '25

The reply to the top response cites Lisp and MSL as languages with no implicit limitation to address space.

I don’t know the specifics of the those languages, but is that inaccurate? More generally, I see no reason why a language would need to have those kinds of limitations (of course I can see why an actual machine would, but that is neither here nor there as far as a language goes), although I also see why there is no real practical difficulty in having such limitations in implementations of C since you can just make the memory space “big enough”.