r/programming • • Sep 16 '26

Programming lanugage that uses procedures

https://fodev.net/files/fo2/ssl.html

I'm writing a paper analyzing modding Classic Fallout games and I'm currently trying to analyze Fallout's scripting language: SSL or Star Trek Scripting Language. I was wondering anyone knew of any languages it could be based on other than C.

For instance "functions" are defined with the word "procedure" and it doesn't use brackets like python but instead uses "start" and "end" tags. All procedures have to be declared before they're contents are defined afterwards.

Idk if many programming languages at the time had this style of syntax.

It was likely created between 1994-1996 so yeah

More info attatched

73 Upvotes

37 comments sorted by

View all comments

Show parent comment

2

u/-Redstoneboi- Sep 17 '26

a method is just a function that takes self/this but does it require dynamic dispatch to be truly distinct from a function and a function pointer

3

u/balefrost Sep 17 '26

Yeah, I'd say that methods are a subset of functions. Every method is a function, but not all functions are methods.

(to the point /u/saxbophone made) I don't think I've ever seen "method" used (formally) for a non-member function. Static method, sure, but never for a function unaffiliated with a class.

Having said that, yeah, people regularly mix up the terminology in conversation. I'm sure I've done so.

1

u/saxbophone Sep 17 '26

 (to the point u/saxbophone made) I don't think I've ever seen "method" used (formally) for a non-member function.

I think JavaScript might've been the context.

2

u/saxbophone Sep 17 '26

I'm not sure it's so strict as that.

C++ for instance passes the this pointer as an implicit first argument to the method —that's worthwhile enough distinguishing in the nomenclature, IMO.