150の言語で新年あけましておめでとうございます2012

親愛なるKhabravchians!

明けましておめでとうございます! あなたの創造的な成功、キャリア、知的および精神的な成長を願っています!



150以上のプログラミング言語で新年を迎えましょう。



画像



A +





 a Happy New Year in A+ 'Happy New Year'
      
      











アバプ



 Report Happy_New_Year. Write: "Happy New Year".
      
      











Abc



 WRITE “Happy New Year”
      
      











ADA



 -- Happy New Year with Text_IO; use Text_IO; procedure HappyNewYear is begin Put_Line("Happy New Year"); end HappyNewYear;
      
      











アレップ



 # Happy New Year in Aleph println "Happy New Year"
      
      











藻類



 printf("Happy New Year\n");
      
      











アルゴール



 'begin' outstring(2, 'Happy New Year'); 'end'
      
      











アモス



 PRINT "Happy New Year"
      
      











APL



 'Happy New Year'
      
      











ASP(アクティブサーバーページ)



 <%@ language="javascript" %> <html><body> <% Response.Write('Happy New Year!'); %> </body></html>
      
      











アセンブラー(Intel 80x86; DOS、MASM)



 .MODEL tiny .CODE ORG 100h HAPPY PROC MOV AH,09h LEA DX,msg INT 21h ;Display Happy New Year MOV AX,4C00h ;Exit to DOS INT 21h HAPPY ENDP msg DB 'Happy New Year$' END HAPPY
      
      











awk



 BEGIN { print "Happy New Year" }
      
      











ベーシック



 PRINT "Happy New Year"
      
      











Bcpl



 GET "LIBHDR" LET START () BE $( WRITES ("Happy New Year!*N") $)
      
      











ベータ版



 (# do 'Happy New Year' -> putline #)
      
      













 class HappyNewYear is == == HappyNewYear-Klasse == interface creation is == Erzeugt das HappyNewYear-Objekt do printIt end creation routines printIt is == prints Happy New Year do print("Happy New Year\n") end printIt end class
      
      













 #! this is also a single line comment {- and a multi-liine comment. -} "Happy New Year" println.
      
      











C



#include <stdio.h>

 main() { printf("Happy New Year\n"); }
      
      











C#



 using System; class HappyNewYear { static void Main() { Console.WriteLine("Happy New Year"); } }
      
      











C ++



 #include<iostream> int main(){ std::cout<<"Happy new year!"<<std::endl; return 0; }
      
      











クリックして



 #include <stdio.h> cilk void main() { printf("Happy New Year\n"); }
      
      











クレア



 [ main() -> printf("Happy New Year\n") ]
      
      











クリッパー



 ? "Happy New Year" quit
      
      











COBOL



 IDENTIFICATION DIVISION. PROGRAM-ID. HappyNewYear. AUTHOR. Fabritius. ENVIRONMENT DIVISION. CONFIGURATION SECTION. INPUT-OUTPUT SECTION. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. LINKAGE SECTION. PROCEDURE DIVISION. DISPLAY "Happy New Year". STOP RUN.
      
      











Concirrent clean



 module HappyNewYear import StdEnv Start :: String Start = "Happy New Year"
      
      











クック



 [print "Happy New Year"];
      
      











居心地の良い無限



 BEGIN ; WRITE 6 'Happy New Year' ; { 6 ist Stdout } END ;
      
      











Cトーク



 cout << "Happy New Year\n";
      
      











カール



 {curl 1.7 applet} {applet license = "personal"} Happy New Year
      
      











サイクロン



 #include <stdio.h> int main() { printf("Happy New Year\n"); return 0; }
      
      











Dbase



 ? "Happy New Year" return
      
      











ドスバッチ



 @ECHO OFF ECHO Happy New Year Dylan define method Happy-New-Year() format-out("Happy New Year\n"); end method Happy-New-Year; Happy-New-Year();
      
      











E



 println( "Happy New Year" )
      
      











エッフェル



 indexing title: "Happy New Year"; author: "rgen3"; class MAIN creation make feature make is do io.put_string("Happy New Year"); io.new_line end -- make end -- class MAIN
      
      











エメラルド





 const HappyNewYear == object HappyNewYear process stdout.putstring["Happy New Year\n"] stdin.close stdout.close end process end HappyNewYear
      
      











アーラン



 io:fwrite("Happy New Year~n"). %% im Eingabemodus
      
      











陶酔



 puts (1, "Happy New Year\n")
      
      













 output "Happy New Year" ;;
      
      











FOP



 .box Happy New Year !!! .ende
      
      











フォース



 ." Happy New Year"
      
      











Fortran







 PROGRAM HappyNewYear PRINT *, "Happy New Year" END PROGRAM HappyNewYear
      
      











フォックス



 ? "Happy New Year" return
      
      











ゴファー



 show "Happy New Year"
      
      











ハスケル



 -- file: Main.hs -- compile: ghc --make Main -o main module Main (main) where main = putStr "Happy New Year\n"
      
      











HB(ハイパービルダー)



 # definiere ein Objekt HappyNewYear :set HappyNewYear <b>HappyNewYear</b> : # definiert das Startobjekt, welches man mittels URL aufrufen kann :out main <html><head></head><body> <HappyNewYear> <!-- ruft das Objekt HappyNewYear auf --> </body></html>
      
      











ホップ



 "Happy New Year\n";
      
      











HTML



 <html> <head> <title>Happy New Year</title> </head> <body> Happy New Year </body> </html>
      
      











IBM exec



 &CONTROL * &TYPE Happy New Year! * &EXIT 0 <h4>Icon</h4>
      
      









 procedure main(args) write("Happy New Year\n") end
      
      











J



 'Happy New Year'
      
      











Java(アプレット)



 import java.applet.*; import java.awt.*; public class HappyNewYear extends Applet { public void paint(Graphics g) { g.drawString("Happy New Year",10,10); }
      
      











Javascript



 <html> <head> <title>Javascript Happy New Year</title> </head> <body> <script> document.write("Happy New Year!"); </script> </body> </html>
      
      











K



 ` 0:"Happy New Year\n"
      
      











ラテックス



 \documentclass[a4paper]{report} \title{Happy New Year in LaTeX} \begin{document} Happy New Year \end{document}
      
      











レダ



 include "std.led"; begin print("Happy New Year"); end;
      
      











少女



 print "Happy New Year"
      
      











Lisp



 (print "Happy New Year")
      
      











ロゴ



 print [Happy New Year]
      
      











敗北



 @SysInclude {doc} @Doc @Text @Begin Happy New Year @End @Text
      
      











ルア



 print("Happy New Year\n")
      
      











作る



 main-target: @echo "Happy New Year"
      
      











水銀



 % compile with: % mmake Happy.depend % mmake Happy :- module Happy. :- interface. :- import_module io. % di=desctructive input, uo=unique output :- pred main(io__state::di, io__state::uo) is det. :- implementation. % "-->" tells that we are using DCG (definite clause grammar), which frees us % from threading some extra arguments through the code. main --> io__write_string("Happy New Year\n").
      
      











マード



 "Happy New Year!".println
      
      











ミランダ



 "Happy New Year!"
      
      











モビー



 module Main { val () = ConsoleIO.print "Happy New Year\n" }
      
      











モジュラ



 MODULE HappyNewYear; FROM InOut IMPORT WriteString, WriteLn; BEGIN WriteString('Happy New Year'); WriteLn; END HappyNewYear.
      
      











おたふく風邪



 HAPPY W "Happy New Year",! Q
      
      











NESL



 print_string("Happy New Year\n");
      
      











オベロン



 MODULE HappyNewYear; IMPORT Out; BEGIN Out.Open; Out.String('Happy New Year'); END HappyNewYear.
      
      











Objective-c



 void main() { printf("Happy New Year\n"); }
      
      











客観的冷静



 print_string("Happy New Year\n");;
      
      











オブリク



 sys_printText("Happy New Year\n");
      
      











オクターブ



 printf("Happy New Year\n")
      
      











オズ/モーツァルト



 % Happy New Year!!! {Show 'Happy New Year'}
      
      











オウム



 print "Happy New Year\n"
      
      











パスカル



 PROGRAM HappyNewYear; BEGIN WRITELN('Happy New Year'); END.
      
      











Perl



 print "Happy New Year\n";
      
      











ファントム



 (* Happy New Year! *) module HappyNewYear; import stdio; begin stdio.puts("Happy New Year\n"); end HappyNewYear.
      
      











Php





 <?php echo "Happy New Year\n"; ?>
      
      











ピコ



 { "da es in Pico keine Kommentare gibt,"; "verwende ich einfach Strings."; display('Happy New Year', eoln) }
      
      











パイク



 void main() { write("Happy New Year\n"); }
      
      











PL / 0E



 PROGRAM HappyNewYear; BEGIN WRITELN('Happy New Year'); END.
      
      











PL / 1



 HAPPY: PROCEDURE OPTIONS (MAIN); PUT SKIP LIST('HAPPY NEW YEAR!'); END HAPPY;
      
      











PL / SQL



 BEGIN DBMS_OUTPUT.put_line('Happy New Year'); END;
      
      











しなやか



 console "Happy New Year" eol
      
      











Posrscript



 % Happy New Year /Courier findfont 28 scalefont setfont 0 0 moveto (Happy New Year) show % Text links unten ausgeben showpage
      
      











プロファン



 PRINT "Happy New Year"
      
      











プロローグ



 ?- write('Happy New Year'), nl.
      
      











Python



 print "Happy New Year"
      
      











R



 print("Happy New Year")
      
      











レボル



 [Title: "Happy New Year" Date: 1-Jan-2012 File: %webscan.r Author: "Rgen3" Version: 1.2.3 print "Happy New Year"]
      
      











レックス



 SAY "Happy New Year"
      
      











ルビー



 "Happy New Year\n".display
      
      











サザー



 class MAIN is main is #OUT + "Happy New Year\n"; end; -- main end; -- class MAIN
      
      











スケーム



 (display "Happy New Year")
      
      











シェルスプラッヘン



 echo Happy New Year
      
      











シミュラ



 begin OutText("Happy New Year"); OutImage end
      
      











シナ



 class HappyNewYear interface methods show returns nil; inputfilters disp: Dispatch = {inner.*}; end; class HappyNewYear implementation methods show begin self.printLine('Happy New Year'); end; end; main temps Happy: HappyNewYear; begin Happy.show end
      
      











シリウス



 PROGRAM Happy_New_Year OUTPUT ('Happy New Year') END
      
      











サイザル



 define main function main(returns array [Character]) "Happy New Year" end function
      
      











Smalltalk



 'Happy New Year' out.
      
      











SML



 print "Happy New Year\n";
      
      











SNOBOL



 OUTPUT = 'Happy New Year' END
      
      











SQL



 SELECT 'Happy New Year'
      
      











スーパーベース



 ? "Happy New Year!"
      
      











Tcl



 puts "Happy New Year" TI-83 Graphing Calculator :Disp "Happy New Year"
      
      











トム



 implementation class HappyNewYear int main Array argv { [[[stdio out] print "Happy New Year"] nl]; return 0; } end; implementation instance HappyNewYear end;
      
      











チューリング



 put "Happy New Year"
      
      











Txl



 define program [repeat token] end define % Main transformation rule - whatever the input, % transform it into Happy New Year function main replace [program] _ [program] by "Happy New Year" end function
      
      











UFO



 main : String is "Happy New Year\n"
      
      











Vhdl



 ENTITY HappyNewYear IS END HappyNewYear; ARCHITECTURE bhv OF HappyNewYear IS BEGIN ASSERT FALSE REPORT "HAPPY NEW YEAR" SEVERITY NOTE; END bhv;
      
      











Vim





 :echo "Happy New Year"
      
      











Webl





 PrintLn("Happy New Year");
      
      











WML(ワイヤレスマークアップ言語)



 <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <!-- Happy New Year in WML --> <wml> <card id="Happy_New_Year" title="Happy New Year"> <p>Happy New Year</p> </card> </wml>
      
      











XPL0



 code Text=12; Text(0, "Happy New Year");
      
      











ヤカス



 WriteString("Happy New Year");
      
      











ヤフル



 DEFINITION MODULE HappyNewYear; CLASS HappyClass; METHOD CREATE; METHOD Main; END HappyClass; END HappyNewYear; IMPLEMENTATION MODULE HappyNewYear; FROM Streams IMPORT StdOut; CLASS HappyClass; METHOD CREATE; BEGIN -- wird aufgerufen um das Objekt zu initialisieren Main; END; METHOD Main; BEGIN StdOut.WriteLine ("Happy New Year"); END Main; END HappyClass; END HappyNewYear;
      
      











ヨワ



 import yoix.stdio.*; printf("Happy New Year\n");
      
      











ヨリック



 write, "Happy New Year\n"
      
      










All Articles