syntaxtest

はろ〜わ〜るど

[C]

#include <stdio.h>
 
/* コメント */
int main(int argc, char *argv[])
{
    printf("Hello World!!\n);
 
    return 0;
}

[C++]

#include <iostream>
 
using namespace std;
 
// 定番のこんにちは世界
int main(int argc, char *argv[])
{
    cout << "Hello World!!" << endl;
 
    return 0;
}

[C#]

using System;
 
namespace Hello
{
    /// <summary>定番のこんにちは世界</summary>
    public class HelloWorld
    {
        public static int Main()
        {
            Console.WriteLine("Hello World!!");
 
            return 0;
        }
    }
}

[Python]

#!/usr/bin/env python
# -*- coding: utf-8 -*-
 
# pythonのこんにちは世界
def main():
    print "Hello World!"
 
if __name__ == '__main__':
    main()

[Java]

public class HelloWorld {
    public static void main(String[] args) {
	System.out.println("Hello World!!");
    }
}

[SQL]

/* SQL */
SELECT
    'Hello World!!' AS MSG,
    CASE COL1
        WHEN '1' THEN 'Test1'
        WHEN '2' THEN 'Test2'
        ELSE COL1
    END,
    COL2, COL3
FROM TABLE1 a
    INNER JOIN TABLE2 b ON a.COL1 = b.COL2 AND a.COL2 = b.COL2
WHERE COL1 LIKE '[123456789]0%'

[Assembler]

; 16bit com形式
org    100h
 
mov    ah, 09h
mov    dx, msg
int    21h
 
mov    ah, 4Ch
int    21h
 
msg    db    'Hello, world!!',0Dh,0Ah,'$'

[Delphi]

program HelloWorld;
uses
    Dialogs;
begin
    ShowMessage('Hello, World!!');
end.

サポート言語:

 4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic
  • syntaxtest.txt
  • 最終更新: 2023/04/08 18:05
  • by ともやん