Rube Goldberg Merhaba Dünya


68

Bu golf için birden fazla dil kullanmanız gerekecek.

Görev

Bir Rube Goldberg makinesi , çok basit bir görevi yerine getirmek için çok sayıda karmaşık adımlar atan bir işlemdir. Bu golfün amacı çıktı almaktır Rube Goldberg... ama doğrudan değil.

Makine

"Makineniz", yürütüldüğünde, Rube Goldbergyürütme sırasında çıkarılacak başka bir dilde başka bir kaynak kod verecek kaynak koddur . Anladım?

Rephrase: İlk kodunuz başka bir kod vermeli, diğer kodun çıkarması gerekir Rube Goldberg. Her iki kod da farklı dillerde yazılmalıdır.

Bunu yapmanın tek eğlenceli yolu olan bonus

Kodunuz, çıkacak olan bir kodu verecek bir kod çıkarırsa bir bonus vardır Rube Goldberg.

NOT: Her türlü çıktı kullanılabilir (stdout, stderr, iletişim kutusu, ...)

Puanlar

Nokta sayısı, kodunuzda kullanılan bayt sayısına eşittir, böylelikle kullandığınız farklı , ek dil sayısına bölünür .

NOT: farklı diller farklı kodlamalar kullanır. Bayt sayısı ilk dilde kendi kodlamasıyla sayılır.

Örnekler

  • Pyth -> J -> Javascript -> output30 bayt = 30/2 = 15 puan (J ve Javascript fazladan dillerdir)
  • Java -> C# -> C++ -> PHP -> output36 bayt = 36/3 = 12 puan (Daha fazla bayt ve daha fazla dil daha az bayt ve daha az dilde kazanabilir (bu dillerin bunu 36 baytta yapmasının mümkün olmadığını biliyorum).)
  • C -> output10 byte = 10/0 = Sonsuzluk puanları (Fazladan dil yok)
  • Python -> Perl -> Ruby -> Python -> Ruby44 bayt = 44/2 = 22 puan (Perl ve Ruby fazladan dillerdir, ikinci Python fazladan bir dil olarak sayılmaz, ikinci Yakut daha önce olduğu gibi sayılmaz)

NOT: Girişini veren diller kullanılamaz. Bu kesinlikle hiçbir ilave bayt olmayan fazladan bir dil olacaktır.

Cevap

Lütfen hangi dilleri kullandığınızı açıkça ifade eden ve her bir adımın kodunu gösteren bir cevap verin (örneğin: her dilde).

Kazanan

Tabii ki, her zamanki gibi, en düşük puan kazanıyor.

NOT: Her zaman olduğu gibi, standart boşluklara ve "hilelere" izin verilmez.



3
kod golf rube goldburg ... Daha iyi bir patlamış mısır olurdu, ama bunlar hep kesilir.
Kel Bantha,

Farklı diller farklı kodlamalar kullanabiliyorsa bayt sayısı nasıl tanımlanır? Aynı karakter, dilin kodlamasına bağlı olarak, örneğin 1 veya 2 bayt olarak sayılabilir
Luis Mendo,

2
Diller ne kadar yakından ilişkili olabilir? Dyalog APL, NARS2000, ngn / apl, APL2 ve APL + Win'i birlikte kullanabilir miyim? Peki ya K, K2, K3, ..., Kona?
Adám

2
Cevaplardan biri Python 1, 2 ve 3'ü üç ayrı dil olarak saymaktır. Buna izin var mı? (Olması gerektiğini sanmıyorum.)
Dennis

Yanıtlar:


46

33 dil, 40 bayt, 1.25 puan

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

Birçok farklı dilin aynı baskı sözdizimini paylaşması, üstel olarak daha uzun fakat yüksek oranda sıkıştırılabilir kaynak kodu ile sonuçlanmasından faydalanır.

Kalıcı bağlantılar (eksik, güncellenecek)


4
Aslında, aynı dili bir defadan fazla kullanmamıza izin verilirse, önceki programın ne yaptığını tekrarlayarak geri alarak dilleri kaybetmeden çok daha düşük bir bayt sayısı elde edebilirim.
Dennis

3
9-11 Unix Mermisi kullanıyorsunuz ...
Mega Man

3
Dilleri bir defadan fazla kullanmasına izin verilir, ancak ikinci kez kullandığınızda, ek dil olarak sayılmaz.
SteeveDroz


2
Kullanabilirsiniz - BATCHbaşka bir serbest echo.
Conor O'Brien

55

Foogs2MJöleRetinaAeolbonnParAslındaSpreadsssedEvrensel LambdaÇizgiler///m4 : 19/13 ≈ 1.4615 puan

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

Tüm cevaplar Jelly kodu sayfasında verilmiştir . ¶ yeni bir satırı temsil eder.

mekanizma

  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: Hata! Pyth programında bir hata oluştu. Pyth ve GolfScript'i Par ile değiştirdim.

EDIT 2: GNU m4 eklendi.

EDIT 3: Eklenen Foo ve M.


lol nasıl gs2 -> Jellysadece bir bayt kaldırır ...
Rɪᴋᴇʀ

1
Bunu GS2 programm üreten bir brainfuck programm yazarsanız, o brainfuck programm dönüştürebilirsiniz tekli ve ondan önce bir daha dil eklemek ve iki dil ekleyebilir ve muhtemelen ilk kod kapalı bazı bayt kesti.
overactor

5
@haractor: İlk kod kesinlikle daha uzun olurdu. Elbette, sadece bir grup sıfır yazdırıyor, ancak yazdırılacak sıfır sayısı astronomik
Lynn

2
Hem /// hem de Çizgilere sahip olduğunuzdan, esolangs.org/wiki/Itflabtijtslwi eklemeyi de düşünebilirsiniz (başka bir dil eklemezse, sadece /sonuna bir tane daha ekleyin ).
Martin Ender

1
@lightswitchr Jelly kodunu vermek için karakter karmakarışıklığını çözen M'nin yerleşik string sıkıştırmasını kullanır.
Martin Ender

33

Jolf -> Aslında -> Jöle -> Pyth -> Retina -> /// -> Golfscript: 15/6 = 2,5 puan

Martin Ender sayesinde 5,4 puan.

Cᴏɴᴏʀ O'Bʀɪᴇɴ sayesinde 0,1 puan.

Not: Aslında ve Jelly'in her birinin kendi kod sayfası vardır, bu nedenle Çevrimiçi sürümlerde değil, bayt bayt olarak aktarılabilirler.

Jolf

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

Aslında

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

Çevrimiçi deneyin!

Jöle

“'ẉ'ɠ@ịQCṁỊ»

Çevrimiçi deneyin!

Pyth

k"'Rube Goldberg'/

Çevrimiçi deneyin!

Retina

'Rube Goldberg' /

Çevrimiçi deneyin!

///

'Rube Goldberg'/

Çevrimiçi deneyin!

Golfscript

'Rube Goldberg'

Çevrimiçi deneyin!


26

Python -> Toplu -> Javascript -> Java -> PHP -> C ++ -> Foo -> Brainfuck 31. (142857) puan

piton

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

Grup, yığın, parça, bir defada alınan miktar

@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<<"\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\""}

varsayılan değer

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

brainfuck

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

2
Bayt sayısını uzatmak için BF'yi eklediniz mi?
Sızdıran Rahibe,

1
@LeakyNun Hayır, zaten kısa bir sürüm yaptım, şimdi bu mümkün olan en fazla dil için geçerli
Bálint

1
Hangisini tercih edeceğimi bilmiyorum, BF veya Java.
gcampbell

1
Dize tekrarını kullanarak python'u biraz daha kısaltamaz mıydınız? Örneğin, yerine -----------yapamaz "+"-"*11+"mısın?
DanTheMan

21

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

261 bayt / 4 dil = 65,25 Puan

Daha fazla şaşırtmaca ile zor dilleri kullanmayı hedefliyordu. Javascript, dizgeyi base64'ten, kodun BAL kodunu çözen Python'u üreten Cobol'a dönüştürür.

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.

piton

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

Çıktı

RUBE GOLDBERG

5
+1 Diğer birçok cevap sadece birbiri ardına farklı yazdırma işlevlerini kullanır, ancak bunu base64 ve hex kodlaması ile birleştirdiniz. Büyük ilk cevap ve PPCG'ye hoş geldiniz!
Kevin Cruijssen

Yanlış Dava. Çıkış olmalı Rude Goldberg, değil RUBE GOLDBERG.
Outgolfer Erik,

1
Aslında, Python çözümü fırlatacak IndentationErrorve çalışmayacak.
Outgolfer Erik,

4
Gördüğüm her COBOL programı uzaylı bir uzay gemisinin komutlarına benziyor ...
Mega Man

Dernek bonusu tadını çıkarın: D
Rohan Jhunjhunwala

17

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

Martin'e 3 karakter ayırdığın için teşekkürler!

'"''Rube Goldberg''"`'

MATL'de yürütülen verir

"''Rube Goldberg''"`

CJam hangi verir

"'Rube Goldberg'"

hangi 05AB1E içinde verir

'Rube Goldberg'

Golfscript hangi verir

Rube Goldberg


@FryAmTheEggman Teşekkürler! Ama Pyth hakkında hiçbir fikrim yok veya bu kodun nasıl çalıştığı, bu yüzden onu ekleyemem. Belki kendin kullanırsın? :-)
Luis Mendo

Golfscript -> Pyth. Böylece, asıl kaynak kodu dönüştürür g'için g. Yani puanın 22/3 yerine 7 olacak .
Outgolfer Erik,

Ama o zaman 21/4 olurdu, değil mi?
SuperJedi224,

5

Java-> Thue-> Javascript-> Toplu İş>> Mikroscript 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","+++++++"));}}

Oluşturulan Thue programı:

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

Oluşturulan Javascript programı:

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

Oluşturulan Toplu program:

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

Oluşturulan Mikroscript II programı:

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

Oluşturulan Brainf *** programı:

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

5

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

Sadece 2B dil yapmak istedim - tek bir satırda!

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

açıklama

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 , 32 değil. Ayrıca, geriye sarmak yerine geriye doğru yazılan ipi basamazsınız (> <>)?
Outgolfer Erik,

@ EʀɪᴋᴛʜᴇGts Vitsy geriye doğru bir dize gerektirir, dolayısıyla dize> <> ila Vitsy arasında geriye doğru olur. Ve puan için açıklama için teşekkürler.
Conor O'Brien

" push that string backwards" İle karıştırıldım .
Outgolfer Erik,

1
Çocuğum kullanımınızı takdir ediyor. +1
Addison Crump

Vitsy'nin 1D sözdizimi olduğunu, ancak veri işlemenin 4D olduğunu belirtmekte fayda var.
Addison Crump

4

Perl -> JavaScript (ES6) -> Toplu İş -> sh, 39/3 = 13 puan

Perl

print 'alert`@echo echo Rube Goldberg`'

JavaScript (ES6)

alert`@echo echo Rube Goldberg`

Grup, yığın, parça, bir defada alınan miktar

@echo echo Rube Goldberg

sh

echo Rube Goldberg

Sen bunun içine PHP ekleyebilirsiniz: <?="print 'alert`@echo echo Rube Goldberg`'";. Yanılmıyorsam, 11.25 puan olacak.
Ismael Miguel,

@IsmaelMiguel PHP bilmiyorum ama print 'alert`@echo echo Rube Goldberg`'PHP'de de çalıştığını düşünüyorum .
Outgolfer Erik,

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Haklısın. Ben bu PHP çalıştırmak için parantez gerekli olduğu fikrine kapıldım print.
Ismael Miguel

@IsmaelMiguel Demek istediğim, <?phpsanırım bir parça gibi davranacak kısmı atlayabilirsiniz .
Outgolfer Erik,

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Buna izin verildiğini sanmıyorum. PHP'ye beslenen basit bir düz metin dosyası olacaktır.
Ismael Miguel

4

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

'"echo Rube Goldberg"p'/

/// içinde çalıştırıldığında verir

'"echo Rube Goldberg"p'

PowerShell'de çalıştırıldığında

"echo Rube Goldberg"p

ki, CJam’de yürütüldüğünde

"echo Rube Goldberg"

Foo'da çalıştırıldığında

echo Rube Goldberg

BASH’da yürütüldüğünde

Rube Goldberg

3

Javascript -> PHP -> Foo 14 puan

JavaScript:

alert`echo'"Rube Goldberg"'`

PHP:

echo'"Rube Goldberg"'

Varsayılan değer:

"Rube Goldberg"

3

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

'''"Rube Goldberg"'''
Dyalog'da APL verir
'"Rube Goldberg"'
hangisi J verir
"Rube Goldberg"
hangisi K verir
Rube Goldberg

Daha yakın ilgili dillere bile izin verirsek daha fazlasını alabiliriz.


2

/// -> K -> J -> SX -> Golfscript -> Pyke -> Lua -> Moonscript -> C -> Pyth -> Python -> BrainF *** -> Bash -> Yakut -> 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 ***

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

darbe

echo -E puts \"echo Rube Goldberg\"

Yakut

puts "echo Rube Goldberg"

zsh

echo Rube Goldberg

Açıkçası birçok eko ekleyebilirim ama Dennis'in cevabını kopyalayacak gibi geliyor.


1

Python → Ruby → Bash, puan: 35/2 = 17,5

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

Python'da çalıştırıldığında verir

puts'echo "Rube Goldberg"'

ile \"s kurtuldu. Sonra, bu, yürütülen Ruby verir

echo "Rube Goldberg"

ve son olarak, bunu Bash'de yürütmek,

Rube Goldberg

beklenen dize budur.


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

Kabuk

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

> <>

"Rube Goldberg"ar!;ooooooo|

Sonuç:

Rube Goldberg

gereğince, gerektiği gibi.


72/3 = 24 , 36 değil
Outgolfer Erik,

JS "şablon dizeleri" olduğunu düşünüyorum, bu yüzden yapabilir console.log`echo '"Rube Goldberg"ar!;ooooooo|'`?
Outgolfer Erik,

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Teşekkürler, görünüşe göre sayılmaz: p Şablon dizeleri önerisi için de teşekkürler; Bunu unuttum ... Her ne kadar parens-olmayan hile işe yaramaz gibi görünse de, console.log daha sonra bir dizi
çıkarmaya

Bu tür yaklaşımlarda bulunmaya değmez; bunun yerine 22. (6) 7 kullanın, 0'a kadar daha küçüktür. (0) 3.
Outgolfer Erik,

@ EʀɪᴋᴛʜᴇGᴏʟғᴇʀ Üzgünüz, ama bu çalışmıyor. Etiketli şablon dizeleri, console.log([`echo '"Rube Goldberg"ar!;ooooooo|'`])spesifikasyona göre farklı şekilde değerlendirilir (kabaca değerlendirilir ).
Isiah Meadows,

1

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

Çıktı

Rube Goldberg

0

Python -> Ruby -> Bash -> JS -> /// -> m4, puan: 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

Cevaptan /// ve m4 numarası aldım https://codegolf.stackexchange.com/a/83627/53416


0

dc -> Fortran -> Temel -> Vim, 59/3 = 19. (6) puan

Bu cevapla, daha önce diğer cevaplarda kullanılan dil çeşitliliğine katkıda bulunmak istedim.

dC:

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

Fortran:

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

Temel:

PRINT "echo 'Rube Goldberg'"

Vim:

echo 'Rube Goldberg'

Nihai çıktı:

Rube Goldberg
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.