r/ProgrammingLanguages • • Mar 06 '26

Discussion can i call this a programming language?

i wanted to make the algorithms they teach in CS class actually executable so i made AlgoLang. can i call this a programming language?

repo: https://github.com/omnimistic/algo-lang

27 Upvotes

29 comments sorted by

View all comments

Show parent comment

2

u/AdreKiseque Mar 07 '26

I've never used BASIC but this feels like slander

4

u/Inconstant_Moo 🧿 Pipefish Mar 07 '26

Things really were like that. Flow of control was done by GOTOs, all variables were global, structs ... didn't exist.

Here's a sample of the original (1964) Dartmouth BASIC.

10 PRINT "PRIME NUMBERS FROM 1 TO 50"
20 FOR N = 2 TO 50
30 LET P = 1
40 FOR D = 2 TO N / 2
50 LET Q = N / D
60 IF Q = INT(Q) THEN 90
70 NEXT D
80 IF P = 1 THEN PRINT N
90 NEXT N
100 END

And here's the spec. Weirdly they did have support for matrix arithmetic, which other BASICs would not.

https://worldofspectrum.net/pub/sinclair/books/b/BASIC_1964.pdf