Rube Goldberg Hola Mundo

68

Para este golf, necesitará usar más de un idioma.

La tarea

Una máquina Rube Goldberg es un artilugio que toma una cantidad enorme de pasos complicados para ejecutar una tarea muy simple. El objetivo de este golf es dar salida Rube Goldberg... pero no directamente.

La máquina

Su "máquina" es el código fuente que, una vez ejecutado, le dará otro código fuente en otro idioma que saldrá Rube Goldbergtras la ejecución. ¿Entendido?

Lo reformulo: su código inicial debe dar otro código, ese otro código debe salir Rube Goldberg. Ambos códigos deben estar escritos en diferentes idiomas.

El bono que se parece más a la única forma divertida de hacerlo

Hay una bonificación si su código genera un código que generará un código que ... generará Rube Goldberg.

NOTA: se puede usar cualquier tipo de salida (stdout, stderr, cuadro de diálogo, ...)

Los puntos

El número de puntos es igual al número de bytes utilizados en su código, dividido por el número de distintas , adicionales lenguas que utilizó.

NOTA: diferentes idiomas usan diferentes codificaciones. El número de bytes se cuenta en el idioma inicial con su propia codificación.

Ejemplos

  • Pyth -> J -> Javascript -> outputen 30 bytes = 30/2 = 15 puntos (J y Javascript son los idiomas adicionales)
  • Java -> C# -> C++ -> PHP -> outputen 36 bytes = 36/3 = 12 puntos (Más bytes y más idiomas pueden ganar menos bytes y menos idiomas (sé que no hay forma de que estos idiomas lo hagan en 36 bytes))
  • C -> outputen 10 bytes = 10/0 = puntos infinitos (sin idiomas adicionales)
  • Python -> Perl -> Ruby -> Python -> Rubyen 44 bytes = 44/2 = 22 puntos (Perl y Ruby son los idiomas adicionales, el segundo Python no se cuenta ya que no es un idioma adicional, el segundo Ruby no se cuenta como ya ha sido)

NOTA: Los idiomas que generan su entrada no se pueden usar. Ese sería un idioma adicional sin ningún byte adicional.

La respuesta

Proporcione una respuesta que indique claramente qué idiomas utilizó y muéstrenos el código de cada paso (es decir, en cada idioma).

El ganador

Por supuesto, como de costumbre, gana el puntaje más bajo.

NOTA: Como de costumbre, las lagunas y "trampas" estándar no están permitidas.

SteeveDroz
fuente
1
Muy relacionado
FryAmTheEggman
3
código golf rube goldburg ... Hubiera sido mejor una palomitas de maíz pero siempre se cierran
Bald Bantha
¿Cómo definir el recuento de bytes cuando diferentes idiomas pueden usar diferentes codificaciones? El mismo carácter puede contar, por ejemplo, como 1 o 2 bytes, dependiendo de la codificación del idioma
Luis Mendo
2
¿Cuán estrechamente relacionados pueden estar los idiomas? ¿Puedo usar Dyalog APL, NARS2000, ngn / apl, APL2 y APL + Win juntos? ¿Qué tal K, K2, K3, ..., Kona?
Adám
2
Una de las respuestas es contar Python 1, 2 y 3 como tres idiomas separados. eso está permitido? (No creo que deba ser).
Dennis

Respuestas:

46

33 idiomas, 40 bytes, 1.25 puntos

33.Bubblegum    : (hexdump) 3f1dbbbc87ebd1594f79fdbfa01c8a8ded64e1796d24d2f23e0115677f3cd9b3cd59c217c75a5c30
32.///          : "echo "B*"Rube Goldberg"+````{`]"print(%s)"e%}E*/
31.CJam         : "echo "B*"Rube Goldberg"+````{`]"print(%s)"e%}E*
30.Python       : (524,452 bytes)
29.Falcon       : (262,301 bytes)
28.Groovy       : (131,222 bytes)
27.JavaScript   : ( 65,679 bytes)
26.Julia        : ( 32,904 bytes)
25.Lua          : ( 16,513 bytes)
24.Move         : print("print(\"print(\\\"print(\\\\\\\"print(\\\\\\\\\\\\\\\"print(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"print(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"print(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\")\\\")\")")
19.Yabasic      : print("print(\"print(\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\"\\\")\")")
18.MoonScript   : print("print(\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\"\\\"\")")
17.R            : print("\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\\\\\\\\\"\\\\\\\"\\\"\"")
16.Arcyóu       : [1] "\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\\\\\\\\\"\\\\\\\"\\\"\""
15.Convex       : "\"\\\"\\\\\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\\\\\"\\\"\""
14.GolfScript   : "\"\\\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\\\"\""
13.Pyth         : "\"echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg\""
12.Foo          : "echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg"
11.ash          : echo echo echo echo echo echo echo echo echo echo echo Rube Goldberg
10.bash         : echo echo echo echo echo echo echo echo echo echo Rube Goldberg
09.csh          : echo echo echo echo echo echo echo echo echo Rube Goldberg
08.dash         : echo echo echo echo echo echo echo echo Rube Goldberg
07.fish         : echo echo echo echo echo echo echo Rube Goldberg
06.ksh          : echo echo echo echo echo echo Rube Goldberg
05.mksh         : echo echo echo echo echo Rube Goldberg
04.pash         : echo echo echo echo Rube Goldberg
03.rc           : echo echo echo Rube Goldberg
02.tcsh         : echo echo Rube Goldberg
01.zsh          : echo Rube Goldberg
00.OUTPUT       : Rube Goldberg

Aprovecha el hecho de que muchos idiomas diferentes comparten la misma sintaxis de impresión, lo que resulta en un código fuente exponencialmente más largo pero altamente compresible.

Permalinks (incompleto, por actualizar)

Dennis
fuente
44
Si, de hecho, se nos permite usar el mismo idioma más de una vez, puedo lograr un recuento de bytes mucho menor sin perder ningún idioma, deshaciendo repetidamente lo que hizo el programa anterior.
Dennis
3
Utiliza 9-11 Unix Shells ...
Mega Man
3
Está permitido usar idiomas más de una vez, pero la segunda vez que lo use, no cuenta como un idioma adicional.
SteeveDroz
2
Me encantan las reglas de abuso en este ... XD
Isiah Meadows
2
Podrías usar ... BATCHotro gratis echo.
Conor O'Brien
55

FooGS2MJellyRetinaAeolbonnParEn realidadSprectssedUniversal LambdaLíneas///m4 : 19/13 ≈ 1.4615 puntos

"“GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ¦

Todas las respuestas se dan en la página de códigos Jelly . ¶ representa una nueva línea.

Mecanismo

  Language      Code
 ——————————————————————————————————————
  Foo           "“GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ¦
  gs2           “GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ¦
  M             “GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ
  Jelly         “¶:`".c Rube Goldberg#\/”
  Retina        ¶:`".c Rube Goldberg#\/
  Aeolbonn      :`".c Rube Goldberg#\/
  Par           `".c Rube Goldberg#\/
  Actually      ".c Rube Goldberg#\/
  Sprects       .c Rube Goldberg#\/
  sed           c Rube Goldberg#\/
  U.Lambda       Rube Goldberg#\/
  Lines         Rube Goldberg#\/
  ///           Rube Goldberg#/
  m4            Rube Goldberg#

EDITAR: Vaya, hubo un error en el programa Pyth. Reemplacé Pyth y GolfScript por Par.

EDIT 2: GNU m4 agregado.

EDITAR 3: Se agregó Foo y M.

Lynn
fuente
jajaja cómo gs2 -> Jellysolo elimina un byte ...
Rɪᴋᴇʀ
1
Si escribe un programa brainfuck que genera ese programa gs2, podría convertir ese programa brainfuck a unario y agregar un idioma más antes y agregar dos idiomas y probablemente cortar algunos bytes del código inicial.
overactor
55
@overactor: El código inicial definitivamente sería más largo. Claro, es "solo" imprimir un montón de ceros, pero el número exacto de ceros para imprimir es astronómico
Lynn
2
Dado que tiene tanto /// como Líneas, supongo que también podría considerar agregar esolangs.org/wiki/Itflabtijtslwi (solo agregue otro /al final, si eso no arruina otros idiomas).
Martin Ender
1
@lightswitchr Utiliza la compresión de cadena incorporada de M que decodifica esa mezcla de caracteres para dar el código Jelly.
Martin Ender
33

Jolf -> En realidad -> Jelly -> Pyth -> Retina -> /// -> Golfscript: 15/6 = 2.5 puntos

5.4 puntos gracias a Martin Ender.

0.1 puntos gracias a Cᴏɴᴏʀ O'Bʀɪᴇɴ.

Nota: tanto Actually como Jelly tienen su propia página de códigos, por lo que podrían transferirse byte a byte, pero no en las versiones en línea.

Jolf

aq"“'ẉ'ɠ@ịQCṁỊ»

Realmente

"“'ẉ'ɠ@ịQCṁỊ»

Pruébalo en línea!

Jalea

“'ẉ'ɠ@ịQCṁỊ»

Pruébalo en línea!

Pyth

k"'Rube Goldberg'/

Pruébalo en línea!

Retina

«Rube Goldberg» /

Pruébalo en línea!

///

'Rube Goldberg'/

Pruébalo en línea!

Golfscript

'Rube Goldberg'

Pruébalo en línea!

Monja permeable
fuente
26

Python -> Batch -> Javascript -> Java -> PHP -> C ++ -> Foo -> Brainfuck 31. (142857) puntos

Pitón

print'@echo alert`void f(){System.out.println("echo\"void f(){cout<<\\"\\\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\\\"\\"}\""`'

Lote

@echo alert`void f(){System.out.println("echo\"void f(){cout<<\\"\\\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\\\"\\"}\""`

JavaScript

alert`void f(){System.out.println("echo\"void f(){cout<<\\"\\\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\\\"\\"}\""`

Java

void f(){System.out.println("echo\"void f(){cout<<\\"\\\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\\\"\\"}\""

PHP

echo"void f(){cout<<\"\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\"\"}"

C ++

void f(){cout<<"\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\""}

Foo

"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------."

BrainFuck

-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.
Bálint
fuente
2
¿Acabas de incluir BF para alargar el recuento de bytes?
Leaky Nun
1
@LeakyNun No, ya hice una versión corta, ahora esto es para la mayor cantidad de idiomas posible
Bálint
1
No sé cuál preferir, BF o Java.
gcampbell
1
¿No podrías hacer que la pitón sea un poco más corta usando la repetición de cuerdas? Por ejemplo, en lugar de -----------no podrías hacer "+"-"*11+"?
DanTheMan
21

JS -> Cobol -> Python -> IBM 360 BAL

261 bytes / 4 idiomas = 65.25 puntos

Tenía el objetivo de utilizar idiomas difíciles, con más ofuscación. Javascript convierte la cadena de base64 a Cobol, que produce Python que decodifica el código BAL de hexadecimal.

Javascript

console.log(atob(' 1
    LH8T88d@05R850T8LT88!Q!R Cek*k{[~&vgm88yx9m4m6y6m8wx9m6}s}6Ovm9m6kg7m4m6x{m69x{6Ovm8wOxxg8Ovm9yOym4m6sv9x{6Ovm8km69Oxs}w}snxv86m69Ox7}m69x{49xyx}wws88wsg88oww}g4Ovkm4Oxyxww}}7g8{9swyyg9wyym6Ovm8Oxwxm6fm6gyxm8sox6m6gyxm6gkm6gLP');

Cobol

IDENTIFICATION DIVISION.
 PROGRAM-ID. Rube.
 ENVIRONMENT DIVISION.
 DATA DIVISION.
 PROCEDURE DIVISION.
    Display ' print bytearray.fromhex("202f2f204558454320415353454d424c5920092020535441525420204d41494e0942414c522020322c30200920205553494e47202a2c32200920204f50454e20205052494e54200920204d5643094255462c485720092020505554095052494e5420092020434c4f5345205052494e5420092020454f4a2020485709444309434c3133325c275255424520474f4c44424552475c27202042554609445309434c31333220205052494e5409445446505220494f41524541313d4255462c444556414444523d5359534c53542c424c4b53495a453d3133322c09092a2009094445564943453d333230332c434f4e54524f4c3d5945532c5052494e544f563d5945532020092020454e44094d41494e20202f2a20202f2f2045584543204c4e4b45445420202f2f204558454320202f2a20202f26").decode()'.
    STOP RUN.

Pitón

 print bytearray.fromhex("202f2f204558454320415353454d424c5920092020535441525420204d41494e0942414c522020322c30200920205553494e47202a2c32200920204f50454e20205052494e54200920204d5643094255462c485720092020505554095052494e5420092020434c4f5345205052494e5420092020454f4a2020485709444309434c3133325c275255424520474f4c44424552475c27202042554609445309434c31333220205052494e5409445446505220494f41524541313d4255462c444556414444523d5359534c53542c424c4b53495a453d3133322c09092a2009094445564943453d333230332c434f4e54524f4c3d5945532c5052494e544f563d5945532020092020454e44094d41494e20202f2a20202f2f2045584543204c4e4b45445420202f2f204558454320202f2a20202f26").decode()

IBM 360 BAL

 // EXEC ASSEMBLY
      START
 MAIN   BALR  2,0
      USING *,2
      OPEN  PRINT
      MVC   BUF,HW
      PUT   PRINT
      CLOSE PRINT
      EOJ
 HW DC  CL132'RUBE GOLDBERG'
 BUF    DS  CL132
 PRINT  DTFPR IOAREA1=BUF,DEVADDR=SYSLST,BLKSIZE=132,       *
        DEVICE=3203,CONTROL=YES,PRINTOV=YES 
      END   MAIN
 /*
 // EXEC LNKEDT
 // EXEC
 /*
 /&

Salida

RUBE GOLDBERG
KH42
fuente
55
La mayoría de las otras respuestas solo usan diferentes funciones de impresión una tras otra, pero las combinaste con base64 y codificación hexadecimal. Excelente primera respuesta, ¡y bienvenido a PPCG!
Kevin Cruijssen
Caso equivocado. La salida debería ser Rude Goldberg, no RUBE GOLDBERG.
Erik the Outgolfer
1
En realidad, la solución Python se lanzará IndentationErrory no se ejecutará.
Erik the Outgolfer
44
Todos los programas de COBOL que veo parecen comandos para una nave espacial alienígena ...
Mega Man
disfruta el bono de asociación: D
Rohan Jhunjhunwala
17

MAT -> Cjam -> 05AB1E -> Golfscript 21/2 18/2 22/3

Gracias por Martin por 3 caracteres de descuento!

'"''Rube Goldberg''"`'

ejecutado en MATL da

"''Rube Goldberg''"`

que en CJam da

"'Rube Goldberg'"

que en 05AB1E da

'Rube Goldberg'

que en Golfscript da

Rube Goldberg
Luis Mendo
fuente
Puede agregar Pyth en 1 byte , creo.
FryAmTheEggman
@FryAmTheEggman ¡Gracias! Pero no tengo idea de Pyth ni de cómo funciona ese código, así que no lo agregaré. Tal vez lo use usted mismo? :-)
Luis Mendo
Golfscript -> Pyth. Luego, su código fuente original se convertirá g'a g. Entonces su puntaje será 7 en lugar de 22/3 .
Erik the Outgolfer
Pero entonces sería 21/4, ¿no?
SuperJedi224
5

Java-> Thue-> Javascript-> Batch-> Microscript II-> Brainf ***, 236/5 = 47.2

interface J{static void main(String[]a){System.out.print("a::=~alert`echo \"+++++[>+A<-]>[>++>+++<<-]>++.>---.<++AA.+++.>>++++[>+A<-]>.[>++>+++>+++<<<-]>A.>+AA.---.>++++.--.+++.<<<<<---.>>>>>++.\"`\n::=\na".replaceAll("A","+++++++"));}}

Programa Thue generado:

a::=~alert`echo "+++++[>++++++++<-]>[>++>+++<<-]>++.>---.<++++++++++++++++.+++.>>++++[>++++++++<-]>.[>++>+++>+++<<<-]>+++++++.>+++++++++++++++.---.>++++.--.+++.<<<<<---.>>>>>++."`
::=
a

Programa Javascript generado:

alert`echo "+++++[>++++++++<-]>[>++>+++<<-]>++.>---.<++++++++++++++++.+++.>>++++[>++++++++<-]>.[>++>+++>+++<<<-]>+++++++.>+++++++++++++++.---.>++++.--.+++.<<<<<---.>>>>>++."`

Programa de lote generado:

echo "+++++[>++++++++<-]>[>++>+++<<-]>++.>---.<++++++++++++++++.+++.>>++++[>++++++++<-]>.[>++>+++>+++<<<-]>+++++++.>+++++++++++++++.---.>++++.--.+++.<<<<<---.>>>>>++."

Programa Microscript II generado:

"+++++[>++++++++<-]>[>++>+++<<-]>++.>---.<++++++++++++++++.+++.>>++++[>++++++++<-]>.[>++>+++>+++<<<-]>+++++++.>+++++++++++++++.---.>++++.--.+++.<<<<<---.>>>>>++."

Programa Brainf *** generado:

+++++[>++++++++<-]>[>++>+++<<-]>++.>---.<++++++++++++++++.+++.>>++++[>++++++++<-]>.[>++>+++>+++<<<-]>+++++++.>+++++++++++++++.---.>++++.--.+++.<<<<<---.>>>>>++.
SuperJedi224
fuente
5

Reng ->> <> -> Vitsy, 32/2 = 16 puntos

Quería hacer solo lenguajes 2D, ¡en una sola línea!

{'Z"Rube Goldberg"'ol?!;f3+0.}n~

Explicación

Reng sees:  {'Z"Rube Goldberg"'ol?!;f3+0.}n~
            <---------------------------->    code block
                                          n~  print that and stop

><> sees:   {'Z"Rube Goldberg"'ol?!;f3+0.}
            {                                 no-op?
             'Z"Rube Goldberg"'               push that string backwards
                               o              output a char
                                l?!;          terminate if none are left
                                    f3+0.     go to (0, 18) in the codebox

Vitsy sees: "grebdloG ebuR"Z
            "............."                   push that string
                           Z                  output it
Conor O'Brien
fuente
32/2 = 16 , no 32. Además, ¿no puede empujar la cadena escrita hacia atrás en lugar de envolverla (> <>)?
Erik the Outgolfer
@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Vitsy requiere una cadena hacia atrás, por lo que, en esencia, la cadena está hacia atrás desde> <> hasta Vitsy. Y gracias por la aclaración de la puntuación.
Conor O'Brien
Estaba confundido con " push that string backwards".
Erik the Outgolfer
1
Mi hijo aprecia tu uso. +1
Addison Crump
Vale la pena señalar que Vitsy es una sintaxis 1D, pero su manejo de datos es 4D.
Addison Crump
4

Perl -> JavaScript (ES6) -> Lote -> sh, 39/3 = 13 puntos

Perl

print 'alert`@echo echo Rube Goldberg`'

JavaScript (ES6)

alert`@echo echo Rube Goldberg`

Lote

@echo echo Rube Goldberg

sh

echo Rube Goldberg
Neil
fuente
Puede añadir PHP en ella: <?="print 'alert`@echo echo Rube Goldberg`'";. Si no me equivoco, serán 11.25 puntos.
Ismael Miguel
@IsmaelMiguel No sé PHP, pero creo que también print 'alert`@echo echo Rube Goldberg`'funciona en PHP.
Erik the Outgolfer
@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Tienes razón. Tenía la idea de que PHP requería un paréntesis para ejecutar el print.
Ismael Miguel
@IsmaelMiguel Quiero decir, creo que puedes omitir la <?phpparte para actuar como quine.
Erik the Outgolfer
@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ No creo que eso esté permitido. Sería solo un simple archivo de texto sin formato que se alimenta a PHP.
Ismael Miguel
4

/// -> PowerShell -> CJam -> Foo -> BASH, 24 bytes / 4 = 6

'"echo Rube Goldberg"p'/

Cuando se ejecuta en /// da

'"echo Rube Goldberg"p'

que, cuando se ejecuta en PowerShell da

"echo Rube Goldberg"p

que, cuando se ejecuta en CJam da

"echo Rube Goldberg"

que, cuando se ejecuta en Foo da

echo Rube Goldberg

que, cuando se ejecuta en BASH da

Rube Goldberg
AdmBorkBork
fuente
3

Javascript -> PHP -> Foo 14 puntos

Javascript:

alert`echo'"Rube Goldberg"'`

PHP:

echo'"Rube Goldberg"'

Foo:

"Rube Goldberg"
Bálint
fuente
3

APL → J → K, 21 bytes / 2 → 10.5

'''"Rube Goldberg"'''
en Dyalog APL da
'"Rube Goldberg"'
cuál en J da
"Rube Goldberg"
cuál en K da
Rube Goldberg

Si permitimos idiomas relacionados aún más cercanos, podemos obtener muchos más.

Adán
fuente
2

/// -> K -> J -> SX -> Golfscript -> Pyke -> Lua -> Moonscript -> C -> Pyth -> Python -> BrainF *** -> Bash -> Ruby -> Zsh, 554b / 16 = 34,625

///

"'我(\"\\\"print \\\\\"print(\\\\\\\"print \\\\\\\\\"#include<stdio.h>\\\\\\\\\nint main(){printf(\\\\\\\\\"\\\\\\\\\\\"print \\\\\\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\\\\\"\\\\\\\\\\\");}\\\\\\\\\"\\\\\\\")\\\\\"\\\"\")'"/

K

"'我(\"\\\"print \\\\\"print(\\\\\\\"print \\\\\\\\\"#include<stdio.h>\\\\\\\\\nint main(){printf(\\\\\\\\\"\\\\\\\\\\\"print \\\\\\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\\\\\"\\\\\\\\\\\");}\\\\\\\\\"\\\\\\\")\\\\\"\\\"\")'"

J

'我(\"\\\"print \\\\\"print(\\\\\\\"print \\\\\\\\\"#include<stdio.h>\\\\\\\\\nint main(){printf(\\\\\\\\\"\\\\\\\\\\\"print \\\\\\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\\\\\"\\\\\\\\\\\");}\\\\\\\\\"\\\\\\\")\\\\\"\\\"\")'

SX

我(\"\\\"print \\\\\"print(\\\\\\\"print \\\\\\\\\"#include<stdio.h>\\\\\\\\\nint main(){printf(\\\\\\\\\"\\\\\\\\\\\"print \\\\\\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\\\\\"\\\\\\\\\\\");}\\\\\\\\\"\\\\\\\")\\\\\"\\\"\")

Golfscript

"\"print \\\"print(\\\\\"print \\\\\\\"#include<stdio.h>\\\\\\\nint main(){printf(\\\\\\\"\\\\\\\\\"print \\\\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\\\"\\\\\\\\\");}\\\\\\\"\\\\\")\\\"\""

Pyke

"print \"print(\\\"print \\\\\"#include<stdio.h>\\\\\\nint main(){printf(\\\\\"\\\\\\\"print \\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\\\"\\\\\\\");}\\\\\"\\\")\""

Perl

print "print(\"print \\\"#include<stdio.h>\\\nint main(){printf(\\\\\"\\\\\\\"print \\\\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\\\"\\\\\");}\\\"\")"

Lua

print("print \"#include<stdio.h>\nint main(){printf(\\\"\\\\\"print \\\\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\\\"\\\");}\"")

Moonscript

print "#include<stdio.h>\nint main(){printf(\"\\\"print \\\\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\"\");}"

C

#include<stdio.h>
int main(){printf("\"print \\\"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\\\"");}

Pyth

"print \"--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\"

Python 2

print "--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>."

BrainF ***

--[----->+<]>-.--.+++++.+++++++.[--->+<]>-----.--[-->+++<]>.+[-->+++<]>.-[-->+<]>--.[-->+++++++<]>.+++++.-.-.+[---->+<]>+++.-[->+++<]>-.-[->++++++<]>.[->+++<]>-.--.+++++.+++++++.[--->+<]>-----.>-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.-----------.-[->++++++<]>.\

Golpetazo

echo -E puts \"echo Rube Goldberg\"

Rubí

puts "echo Rube Goldberg"

Zsh

echo Rube Goldberg

Obviamente podría agregar muchos ecos, pero parece que copiaría la respuesta de Dennis.

XiKuuKy
fuente
1

Python → Ruby → Bash, puntaje: 35/2 = 17.5

print"puts'echo \"Rube Goldberg\"'"

cuando se ejecuta en Python, da

puts'echo "Rube Goldberg"'

con el \"s escapó. A continuación, esto, Ruby ejecutado da

echo "Rube Goldberg"

y finalmente, ejecutar esto en Bash da

Rube Goldberg

cual es la cadena esperada.

usuario48538
fuente
1

C → JS → Shell → > <> : 68/3 = 22.67

C

main(){puts("console.log(`echo '\"Rube Goldberg\"ar!;ooooooo|'`)");}

Javascript

console.log(`echo '"Rube Goldberg"ar!;ooooooo|'`)

Cáscara

echo '"Rube Goldberg"ar!;ooooooo|'

> <>

"Rube Goldberg"ar!;ooooooo|

Resultado:

Rube Goldberg

según sea necesario.

tomsmeding
fuente
72/3 = 24 , no 36
Erik the Outgolfer
Creo que hay "cadenas de plantillas" en JS, ¿entonces qué puedes hacer console.log`echo '"Rube Goldberg"ar!;ooooooo|'`?
Erik the Outgolfer
@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Gracias, aparentemente no puede contar: p Y también gracias por la sugerencia de cadenas de plantillas; se olvidó de eso ... Aunque el truco de no parens no parece funcionar, porque console.log luego emite una matriz (al menos en Node)
tomsmeding
No vale la pena hacer tales aproximaciones; use 22. (6) 7 en su lugar, es más pequeño en 0. (0) 3.
Erik the Outgolfer
@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Lo siento, pero eso no funciona. Las cadenas de plantilla etiquetadas se evalúan de manera diferente (eso se evaluaría aproximadamente console.log([`echo '"Rube Goldberg"ar!;ooooooo|'`])) según las especificaciones.
Isiah Meadows
1

Sprects///itflabtijtslwi → Python 2 → Pyth, 24/4 = 6

Sprects

$print'"Rube Goldberg'\/

///

print'"Rube Goldberg'\/

itflabtijtslwi

print'"Rube Goldberg'/

Python 2

print'"Rube Goldberg'

Pyth

"Rube Goldberg

Salida

Rube Goldberg
Erik el Outgolfer
fuente
0

Python -> Ruby -> Bash -> JS -> /// -> m4, puntaje: 54/5 = 10.8

Original  print"puts\"echo \'alert(\\\"Rube Goldberg#/\\\")'\""
Python    puts"echo 'alert(Rube Goldberg)'"
Ruby      echo 'alert("Rube Goldberg#/")'
Bash      alert("Rube Goldberg#/")
JS        Rube Goldberg#/
///       Rube Goldberg#
m4        Rube Goldberg

Tengo el truco /// y m4 de la respuesta https://codegolf.stackexchange.com/a/83627/53416

Mega Man
fuente
0

dc -> Fortran -> Básico -> Vim, 59/3 = 19. (6) puntos

Con esta respuesta, quería contribuir a la variedad de idiomas que ya se utilizan en otras respuestas.

corriente continua:

[program P;write(*,*)"PRINT ""echo 'Rube Goldberg'""";end]P

Fortran:

program P;write(*,*)"PRINT ""echo 'Rube Goldberg'""";end

Básico:

PRINT "echo 'Rube Goldberg'"

Empuje:

echo 'Rube Goldberg'

Salida final:

Rube Goldberg
seshoumara
fuente