Skip to main content
Commonmark migration
Source Link

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`disp('echo s/.*/iPPCG/')`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`disp('echo s/.*/iPPCG/')`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`disp('echo s/.*/iPPCG/')`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

added 10 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`echoalert`disp('echo s/.*/iPPCG/')`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`echo s/.*/iPPCG/`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`disp('echo s/.*/iPPCG/')`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

added 172 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88

#8#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 152160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`echo\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Work in progress..Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`echo\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`echo\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`echo"alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`echo s/.*/iPPCG/`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

#8 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Bash -> sed -> V, 152 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`echo s/.*/iPPCG/`\\\\\\\")#\\\");}\");}}");//

Work in progress...

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`echo s/.*/iPPCG/`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`echo s/.*/iPPCG/`\")#");}

C outputs:

print("alert`echo s/.*/iPPCG/`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`echo s/.*/iPPCG/`

JavaScript outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

#9 languages: Processing -> Java -> C -> Python 3 -> JavaScript (ES6) -> Octave -> Bash -> sed -> V, 160 bytes

print("class A{public static void main(String[]a){System.out.print(\"main(){printf(\\\"print(\\\\\\\"alert`disp('echo s/.*/iPPCG/')`\\\\\\\")#\\\");}\");}}");//

Right now my objective is to find and add languages where I don't need to escape quotes and stuff.

Processing outputs (note that the the Java program doesn't run in Processing and vice-versa)

class A{public static void main(String[]a){System.out.print("main(){printf(\"print(\\\"alert`disp('echo s/.*/iPPCG/')`\\\")#\");}");}}

Java outputs:

main(){printf("print(\"alert`disp('echo s/.*/iPPCG/')`\")#");}

C outputs:

print("alert`disp('echo s/.*/iPPCG/')`")#

Python 3 (note that the python program won't work in Processing because of the comment and vice-versa) outputs:

alert`echo s/.*/iPPCG/`

JavaScript outputs:

disp('echo s/.*/iPPCG/')

Octave outputs:

echo s/.*/iPPCG/

Bash outputs:

s/.*/iPPCG/

sed outputs:

iPPCG  

V outputs:

PPCG

added 102 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
deleted 81 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
added 94 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
added 117 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
deleted 228 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
added 713 characters in body
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading
Source Link
user41805
  • 13.2k
  • 6
  • 42
  • 88
Loading