Warning, /frameworks/syntax-highlighting/autotests/input/highlight.pike is written in an unsupported language. File is not indexed.

0001 #! /bin/env pike
0002 
0003 /* This file is a syntax highlight test for Kate.
0004  * FIXME: Improve it to contain more (and more unusual) syntax examples.
0005  */
0006 
0007 
0008 #define PIKE_ON_THE_WEB  /* Is this address correct? */  "http://pike.ida.liu.se/"
0009 
0010 
0011 int main(int argc, array(string) args)
0012 {
0013   // Write funny things with Pike :)
0014   write(`+("Command line arguments (%d of them): ", @map(args, `+, " ")) + "\n", argc);
0015                              
0016   write("\nVisit Pike site at %s\n\n", PIKE_ON_THE_WEB);
0017 
0018   for (int i = 1; i <= 3; i++)
0019     write(":" + ")" * i + "   ");
0020 
0021   write("\n" + ({"Bye", "bye"}) * "-" + "!\n");
0022 
0023   return 0;
0024 }