Possible languages
Java
JavaScript
TypeScript
Python
C++
C
Go
C#
PHP
Rust
Ruby
Kotlin
Dart
Swift
R
Lua
Perl
Visual Basic 6.0
VB.NET
MATLAB
Julia
Nim
Elixir
Scala
lineComment
//
#
%
'
--
blockComment
none
/*...*/
"""..."""
--[[...]]
#[...]#
=begin...=end
lineSeparator
;
\n
typeAnnotation
none
int x
x: int
x int
x As Integer
x::Int
variableDeclaration
x = 1
int x = 1
x: int = 1
val x = 1
var x = 1
const x = 1
let x = 1
x := 1
x <- 1
$x = 1
my $x = 1
Dim x As Integer = 1
functionDefinition
def
fn
fun
func
function
void/int/float/...
sub
Sub
proc
macro
functionBody
{...}
:\n\t...
=\n\t...
...end
...End Sub
do...end
functionReturn
return x
return(x)
x
ret x
<-x
objectMember
x.y
x["y"]
x->y
x$y
printLine
print(x)
print x
console.log(x)
echo(x)
echo x
x
puts x
System.out.println(x)
Console.WriteLine(x)
cout << x << endl
printf("%s\n", x)
fmt.Println(x)
println(x)
println!(x)
Debug.Print(x)
disp(x)
fprintf('%s\n',x)
IO.puts(x)