Olá, mundo, Rube Goldberg


68

Para este golfe, você precisará usar mais de um idioma.

A tarefa

Uma máquina Rube Goldberg é uma engenhoca que executa um número enorme de etapas complicadas para executar uma tarefa muito simples. O objetivo deste golfe é produzir Rube Goldberg... mas não diretamente.

A máquina

Sua "máquina" é o código fonte que, uma vez executado, fornecerá outro código fonte em outro idioma que será gerado Rube Goldbergapós a execução. Entendi?

Eu refiz a frase: seu código inicial deve fornecer outro código, esse outro código deve gerar Rube Goldberg. Ambos os códigos devem ser escritos em diferentes idiomas.

O bônus mais parecido com a única maneira divertida de fazê-lo

Há um bônus se o seu código gerar um código que produzirá um código que ... que produzirá Rube Goldberg.

NOTA: qualquer tipo de saída pode ser usada (stdout, stderr, caixa de diálogo, ...)

Os pontos

O número de pontos é igual ao número de bytes usado em seu código, dividido pelo número de distintos , extras línguas que você usou.

NOTA: idiomas diferentes usam codificações diferentes. O número de bytes é contado no idioma inicial com sua própria codificação.

Exemplos

  • Pyth -> J -> Javascript -> outputem 30 bytes = 30/2 = 15 pontos (J e Javascript são os idiomas extras)
  • Java -> C# -> C++ -> PHP -> outputem 36 bytes = 36/3 = 12 pontos (mais bytes e mais idiomas podem conquistar menos bytes e menos idiomas (eu sei que não há como essas linguagens fazê-lo em 36 bytes))
  • C -> outputem 10 bytes = 10/0 = pontos infinitos (sem idiomas adicionais)
  • Python -> Perl -> Ruby -> Python -> Rubyem 44 bytes = 44/2 = 22 pontos (Perl e Ruby são os idiomas extras, o segundo Python não é contado, pois não é um idioma extra, o segundo Ruby não é contado como já foi)

NOTA: Os idiomas que emitem suas entradas não podem ser usados. Esse seria um idioma extra com absolutamente nenhum byte adicional.

A resposta

Forneça uma resposta que indique claramente quais idiomas você usou e nos mostre o código de cada etapa (ou seja: em cada idioma).

O vencedor

Obviamente, como de costume, a pontuação mais baixa vence.

NOTA: Como sempre, brechas e "truques" padrão não são permitidos.



3
code golf rube goldburg ... Teria sido melhor uma pipoca, mas essas sempre são fechadas.
amigos estão

Como definir a contagem de bytes quando idiomas diferentes podem usar codificações diferentes? O mesmo carvão animal pode contar, por exemplo, como 1 ou 2 bytes, dependendo a codificação do idioma
Luis Mendo

2
Quão estreitamente relacionadas podem estar as línguas? Posso usar o Dyalog APL, NARS2000, ngn / apl, APL2 e APL + Win juntos? Que tal K, K2, K3, ..., Kona?
Adám 22/06/16

2
Uma das respostas é contar o Python 1, 2 e 3 como três idiomas separados. Isso é permitido? (Eu não acho que deveria ser.)
Dennis

Respostas:


46

33 idiomas, 40 bytes, 1,25 pontos

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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\")\\\\\\\")\\\")\")")
20.Swift        : print("print(\"print(\\\"print(\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"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

Aproveita o fato de que muitos idiomas diferentes compartilham a mesma sintaxe de impressão, resultando em código-fonte exponencialmente mais longo, mas altamente compactável.

Permalinks (incompletos, a serem atualizados)


4
Se, de fato, podemos usar o mesmo idioma mais de uma vez, posso obter uma contagem de bytes muito menor sem perder nenhum idioma, desfazendo repetidamente o que o programa anterior fez.
Dennis

3
Você usa 9-11 Unix Shells ...
Mega Man

3
É permitido usar idiomas mais de uma vez, mas na segunda vez que você o usa, não conta como um idioma adicional.
SteeveDroz

2
Eu amo as regras de abuso neste ... XD
Isiah Meadows

2
Você pode usar - BATCHoutro gratuitamente echo.
Conor O'Brien

55

Foogs2MGeléiaRetinaAeolbonnParNa verdadeSprectssedUniversal LambdaLinhas///m4 : 19/13 ≈ 1.4615 pontos

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

Todas as respostas são fornecidas na página de códigos Jelly . ¶ representa uma nova linha.

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#

EDIT: Ops, ocorreu um erro no programa Pyth. Substituí Pyth e GolfScript pelo Par.

EDIT 2: Adicionado GNU m4.

EDIT 3: Adicionado Foo e M.


lol como gs2 -> Jellyremove apenas um byte ...
Rɪᴋᴇʀ

11
Se você escrever um programa brainfuck que gere esse programa gs2, poderá convertê-lo em unário e adicionar mais um idioma antes disso e adicionar dois idiomas e provavelmente cortar alguns bytes do código inicial.
overactor

5
@overactor: O código inicial seria definitivamente mais longo. Claro, é “apenas” imprimir um monte de zeros, mas o número exato de zeros para imprimir é astronômico
Lynn

2
Como você possui as linhas /// e Lines, acho que você também pode adicionar esolangs.org/wiki/Itflabtijtslwi (basta adicionar outra /no final, se isso não atrapalhar outros idiomas).
Martin Ender

11
@ lightswitchr Ele usa a compactação de string incorporada de M, que decodifica esse amontoado de caracteres para fornecer o código Jelly.
Martin Ender

33

Jolf -> Na verdade -> Geléia -> Pitão -> Retina -> /// -> Golfscript: 15/6 = 2,5 pontos

5,4 pontos graças a Martin Ender.

0,1 pontos graças a Cᴏɴᴏʀ O'Bʀɪᴇɴ.

Nota: Actually e Jelly têm sua própria página de códigos, para que possam ser transferidos byte a byte, mas não nas versões Online.

Jolf

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

Na realidade

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

Experimente online!

Geléia

“'ẉ'ɠ@ịQCṁỊ»

Experimente online!

Pyth

k"'Rube Goldberg'/

Experimente online!

Retina

«Rube Goldberg» /

Experimente online!

///

'Rube Goldberg'/

Experimente online!

Golfscript

'Rube Goldberg'

Experimente online!


26

Python -> Lote -> Javascript -> Java -> PHP -> C ++ -> Foo -> Brainfuck 31. (142857) pontos

Pitão

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

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

2
Você acabou de incluir o BF para aumentar a contagem de bytes?
Leaky Nun

11
@LeakyNun Não, eu já fez uma versão curta, agora isso vale para a maioria dos langauges quanto possível
Bálint

11
Não sei qual preferir, BF ou Java.
gcampbell

11
Você não poderia tornar o python um pouco mais curto usando repetição de string? Por exemplo, em vez de -----------você não poderia fazer "+"-"*11+"?
DanTheMan

21

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

261 bytes / 4 idiomas = 65,25 pontos

Estava com o objetivo de usar linguagens difíceis, com mais ofuscação. Javascript converte a string de base64 em Cobol, que produz Python que decodifica o código BAL de hex.

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ão

 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
 /*
 /&

Resultado

RUBE GOLDBERG

5
+1 A maioria das outras respostas usa apenas funções de impressão diferentes, uma após a outra, mas você a combinou com a codificação base64 e hex. Ótima primeira resposta e bem-vindo ao PPCG!
Kevin Cruijssen

Caso errado. A saída deve ser Rude Goldberg, não RUBE GOLDBERG.
Erik the Outgolfer

11
Na verdade, a solução Python será lançada IndentationErrore não executada.
Erik the Outgolfer

4
Cada programa COBOL vejo parece comandos de uma nave alienígena ...
Mega Man

aproveite o bônus de associação: D
Rohan Jhunjhunwala 12/08

17

MATL -> CJam -> 05AB1E -> Golfscript 21/2 18/2 22/3

Obrigado por Martin por 3 caracteres!

'"''Rube Goldberg''"`'

executado em MATL

"''Rube Goldberg''"`

que em CJam

"'Rube Goldberg'"

que em 05AB1E

'Rube Goldberg'

que em Golfscript

Rube Goldberg


@FryAmTheEggman Thanks! Mas não tenho idéia do Pyth ou de como esse código funciona, então não o adicionarei. Talvez você mesmo use? :-)
Luis Mendo

Golfscript -> Pyth. Em seguida, seu código-fonte original será convertido g'para g. Portanto, sua pontuação será 7 em vez de 22/3 .
Erik the Outgolfer

Mas então seria 21/4, não seria?
SuperJedi224

5

Java-> Terça-> Javascript-> Lote-> 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 de Thue gerado:

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

Programa Javascript gerado:

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

Programa em lote gerado:

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

Programa Microscript II gerado:

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

Programa Brainf *** gerado:

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

5

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

Eu queria fazer apenas linguagens 2D - em uma única linha!

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

Explicação

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

32/2 = 16 , não 32. Além disso, você não pode empurrar a string escrita para trás em vez de envolvê-la (> <>)?
Erik the Outgolfer

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Vitsy requer uma string para trás, portanto, em essência, a string é para trás de> <> para Vitsy. E obrigado pelo esclarecimento para a pontuação.
Conor O'Brien

Eu estava confuso com " push that string backwards".
Erik the Outgolfer

11
Meu filho aprecia seu uso. +1
Addison Crump

Vale ressaltar que o Vitsy é uma sintaxe 1D, mas seu tratamento de dados é 4D.
Addison Crump

4

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

Perl

print 'alert`@echo echo Rube Goldberg`'

JavaScript (ES6)

alert`@echo echo Rube Goldberg`

Lote

@echo echo Rube Goldberg

sh

echo Rube Goldberg

Você pode adicionar PHP para ele: <?="print 'alert`@echo echo Rube Goldberg`'";. Se não estiver errado, serão 11,25 pontos.
Ismael Miguel

@IsmaelMiguel Não sei PHP, mas acho que também print 'alert`@echo echo Rube Goldberg`'funciona em PHP.
Erik the Outgolfer

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Você está certo. Eu tinha a ideia de que o PHP exigia parênteses para executar o arquivo print.
Ismael Miguel

@IsmaelMiguel Quero dizer, você pode omitir a <?phpparte para agir como um quine, eu acho.
Erik the Outgolfer

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Eu não acho que isso é permitido. Seria apenas um arquivo de texto simples sendo alimentado no PHP.
Ismael Miguel

4

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

'"echo Rube Goldberg"p'/

Quando executado em /// dá

'"echo Rube Goldberg"p'

que, quando executado no PowerShell, fornece

"echo Rube Goldberg"p

que, quando executado no CJam, fornece

"echo Rube Goldberg"

que, quando executado em Foo, dá

echo Rube Goldberg

que, quando executado no BASH, fornece

Rube Goldberg

3

Javascript -> PHP -> Foo 14 pontos

Javascript:

alert`echo'"Rube Goldberg"'`

PHP:

echo'"Rube Goldberg"'

Foo:

"Rube Goldberg"

3

APL → J → K, 21 bytes / 2 → 10,5

'''"Rube Goldberg"'''
em Dyalog APL dá o
'"Rube Goldberg"'
que em J dá o
"Rube Goldberg"
que em K dá
Rube Goldberg

Se permitirmos idiomas relacionados ainda mais próximos, podemos obter muito mais.


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 ***

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

Bater

echo -E puts \"echo Rube Goldberg\"

Rubi

puts "echo Rube Goldberg"

Zsh

echo Rube Goldberg

Obviamente, eu poderia adicionar muitos ecos, mas parece que copiaria a resposta de Dennis.


1

Python → Ruby → Bash, pontuação: 35/2 = 17.5

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

quando executado em Python, fornece

puts'echo "Rube Goldberg"'

com os \"escapou. Em seguida, este Ruby executado fornece

echo "Rube Goldberg"

e, por último, executar isso no Bash fornece

Rube Goldberg

qual é a sequência esperada.


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|'`)

Concha

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

> <>

"Rube Goldberg"ar!;ooooooo|

Resultado:

Rube Goldberg

como requerido.


72/3 = 24 , não 36
Erik the Outgolfer

Eu acho que existem "seqüências de caracteres de modelo" em JS, assim você pode fazer console.log`echo '"Rube Goldberg"ar!;ooooooo|'`?
Erik the Outgolfer

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Obrigado, aparentemente, não posso contar: p E também obrigado pela sugestão de strings de modelo; esqueci disso ... Embora o truque sem parênteses não parece funcionar, porque console.log então vai produzir uma série (pelo menos em Node)
tomsmeding

Não vale a pena fazer tais aproximações; use 22. (6) 7 em vez disso, é menor em 0. (0) 3.
Erik the Outgolfer

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Desculpe, mas isso não funciona. As sequências de modelos marcadas são avaliadas de maneira diferente (que seria avaliada aproximadamente console.log([`echo '"Rube Goldberg"ar!;ooooooo|'`])) conforme as especificações.
precisa

1

Spreads///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

Resultado

Rube Goldberg

0

Python -> Ruby -> Bash -> JS -> /// -> m4, pontuação: 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

Eu tenho o truque /// e m4 da resposta https://codegolf.stackexchange.com/a/83627/53416


0

dc -> Fortran -> Basic -> Vim, 59/3 = 19. (6) pontos

Com esta resposta, quis contribuir com a variedade de idiomas já utilizados em outras respostas.

dc:

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

Fortran:

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

Básico:

PRINT "echo 'Rube Goldberg'"

Vim:

echo 'Rube Goldberg'

Saída final:

Rube Goldberg
Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.