You can find the exercises on exercism.io I find it very useful to learn new languages because you can compare them with other languages you know.
dotnet run filename
swift filename
./filename.sh
gcc filename.c -o filename
./filename
or I use `make`` to compile and run the program
ruby filename.rb
javac filename.java
java filename
gradle run
or gradle test
todo
node filename.js
ts-node filename.ts
or
tsc filename.ts && node filename.js
clisp filename.lisp
or
ros run filename.lisp
lua filename.lua
Haskell has the GHC (Glasgow Haskell Compiler) to compile and run the program
ghc filename.hs
./filename
HelloWorld.hi - The interface file. HelloWorld.o - The object file. HelloWorld (or HelloWorld.exe on Windows) - The executable, if a main function were defined.
ocaml filename.ml
nim c filename.nim
./filename
php filename.php
python3 filename.py
sqlite3 -bail < filename.sql
wasmtime filename.wasm
zig run filename.zig
g++ filename.cpp -o filename
./filename