File: highlight.pike.html

package info (click to toggle)
kf6-syntax-highlighting 6.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 47,568 kB
  • sloc: xml: 197,750; cpp: 12,850; python: 3,023; sh: 955; perl: 546; ruby: 488; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; erlang: 54; sql: 51; java: 47; objc: 37; awk: 31; asm: 30; tcl: 29; fortran: 18; cs: 10
file content (31 lines) | stat: -rw-r--r-- 2,558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>highlight.pike</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Pike) - Theme (Breeze Light)"/>
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
<span style="color:#898887">#! /bin/env pike</span>

<span style="color:#898887">/* This file is a syntax highlight test for Kate.</span>
<span style="color:#898887"> * </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold">FIXME</span><span style="color:#898887">: Improve it to contain more (and more unusual) syntax examples.</span>
<span style="color:#898887"> */</span>


<span style="color:#006e28">#define PIKE_ON_THE_WEB  </span><span style="color:#898887">/* Is this address correct? */</span><span style="color:#006e28">  </span><span style="color:#bf0303">"http://pike.ida.liu.se/"</span>


<span style="color:#0057ae">int</span> main(<span style="color:#0057ae">int</span> argc, <span style="color:#0057ae">array</span>(<span style="color:#0057ae">string</span>) args)
{
  <span style="color:#898887">// Write funny things with Pike :)</span>
  write(<span style="color:#644a9b">`+</span>(<span style="color:#bf0303">"Command line arguments (%d of them): "</span>, @map(args, <span style="color:#644a9b">`+</span>, <span style="color:#bf0303">" "</span>)) + <span style="color:#bf0303">"</span><span style="color:#924c9d">\n</span><span style="color:#bf0303">"</span>, argc);
                             
  write(<span style="color:#bf0303">"</span><span style="color:#924c9d">\n</span><span style="color:#bf0303">Visit Pike site at %s</span><span style="color:#924c9d">\n\n</span><span style="color:#bf0303">"</span>, PIKE_ON_THE_WEB);

  <span style="font-weight:bold">for</span> (<span style="color:#0057ae">int</span> i = <span style="color:#b08000">1</span>; i &lt;= <span style="color:#b08000">3</span>; i++)
    write(<span style="color:#bf0303">":"</span> + <span style="color:#bf0303">")"</span> * i + <span style="color:#bf0303">"   "</span>);

  write(<span style="color:#bf0303">"</span><span style="color:#924c9d">\n</span><span style="color:#bf0303">"</span> + ({<span style="color:#bf0303">"Bye"</span>, <span style="color:#bf0303">"bye"</span>}) * <span style="color:#bf0303">"-"</span> + <span style="color:#bf0303">"!</span><span style="color:#924c9d">\n</span><span style="color:#bf0303">"</span>);

  <span style="font-weight:bold">return</span> <span style="color:#b08000">0</span>;
}
</pre></body></html>