Sample Page

This is a SamplePage? with which I will test the JavaWiki translator. For more info see http://www.suntest.com/JavaCC, or ISBN: 0-13-080301-4.

This is italic, and so is this'n. This is bold and italic.

The parser requires the quotes to match and not be nested.

Emphasis can't span lines, but lines can be quite long and include JavaWiki links. Emphasis can't span lines, but lines can be quite long and include JavaWiki links. Emphasis can't span lines, but lines can be quite long and include JavaWiki links. Emphasis can't span lines, but lines can be quite long and include JavaWiki links.

  • bullet 1 -- WardCunningham
  • bullet 2 -- http://c2.com/~ward
  • bullet 3 -- mailto:ward@c2.com

    The old bullet rules required tabs before the star. I'd like to get away from requiring tab for anything since it is so hard to type on a pc. (Did you know that you can type a tab into a textarea on a pc by holding down the alt key and typing 0 0 9 on the numeric keypad?)


      sample {
        indented with spaces
        and with tab
      }

    Characters like * and ---------- are processed differently at the beginning of a line. There are extra clauses for these characters in the Text() production that could be removed if they were handled by start-states in the lexer.


    Do you like this logo? I made it with my scanner. I colored it with a purple highlighter and changed the color to yellow in photoshop. I recently fixed my scanner after doing without for a year or two. It had a bad fuse, one where the pigtail lead had failed. The fuse hadn't blown. I'm so proud to have fixed it myself.


    Here is some code. Perhaps we shouldn't to link substitution here, though HyperPerl?, http://c2.com/cgi/wikibase?HyperPerl, depends on the fact that we do.


        static void book (String s) {
            char c[] = s.toCharArray?();
            StringBuffer? b = new StringBuffer?();
            for (int i=0; i<c.length; i++) {
                if (Character.isDigit(c[i]) || c[i] == 'X') {
                    b.append(c[i]);
                }
            }
            out.print("<a href=\"http://www.amazon.com/exec/obidos/ISBN=" +
                b.toString() + "/portlandpatternrA/\">" + s + "</a>");
        }


    The parser requires that the input text end with a newline.