I would argue VB.NET
covers this, and it is a classic Microsoft BASIC to boot.
I think to have a ruleset everyone can agree on, we’re going to narrow this to the top 20 TIOBE languages that are memory safe and scripting appropriate, right now by my reading…
Languages in TIOBE top 20 as of February 2021:
- C
- Java
- Python
- C++
- C#
- Visual Basic
- JavaScript
- PHP
- SQL
- Assembly
- R
- Groovy
- Go
- Ruby
- Swift
- Matlab
- Delphi / Object Pascal
- Classic VB
- Perl
- Objective-C
The ones with red X are not memory safe and therefore not applicable:
C, C++, Assembly, Go, Objective-C
By scripting appropriate I mean languages meant for classic BASIC style I want to run a generalized, all purpose script at the command line style programming:
PHP, SQL, R, Swift, Matlab, Classic VB
That leaves us with 8 languages:
Java, Python, C#, VB.NET, JavaScript, Ruby, Delphi / Object Pascal, Perl
Groovy is a superset of Java, based on my research, so I’m consolidating that one into just Java. This also applies to other “clone” languages, we’re going with the language that is in the TIOBE top 20, even if the clone (or superset) language is compatible.
March 2022 – After some discussion, we’ve replaced Pascal (which we can’t guarantee memory safety for, and that’s an explicit goal of this project) with Rust, and added Lua since it cracked the top 20 in TIOBE.