Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Site look-and-feel updates.

  • Loading branch information...
commit f44e1389790231a3b62fef89f38436df6acf0b6f 1 parent 36018c1
bfulgham authored
Showing with 1,234 additions and 142 deletions.
  1. +1 −1  bench/sieve/.up_date
  2. +22 −0 bench/sieve/sieve.php
  3. +1 −1  bench/spellcheck/.up_date
  4. +20 −0 bench/spellcheck/spellcheck.php
  5. +14 −0 bench/strcat/strcat.php
  6. +3 −1 bin/make_versions
  7. +146 −0 css/inst.css
  8. +793 −0 css/tigris.css
  9. +10 −0 html/footer.php
  10. +18 −0 html/header.php
  11. +10 −11 html/header.phtml
  12. BIN  images/corporate_logo.gif
  13. BIN  images/file.gif
  14. BIN  images/folder-closed.gif
  15. BIN  images/folder-open.gif
  16. BIN  images/help_logo.gif
  17. BIN  images/icon_alert.gif
  18. BIN  images/icon_alertsml.gif
  19. BIN  images/icon_arrowfolder1_sml.gif
  20. BIN  images/icon_arrowfolder2_sml.gif
  21. BIN  images/icon_arrowfolderclosed1_sml.gif
  22. BIN  images/icon_arrowfolderopen2_sml.gif
  23. BIN  images/icon_arrowmembers1_sml.gif
  24. BIN  images/icon_arrowmembers2_sml.gif
  25. BIN  images/icon_arrowusergroups1_sml.gif
  26. BIN  images/icon_arrowusergroups2_sml.gif
  27. BIN  images/icon_arrowwaste1_sml.gif
  28. BIN  images/icon_arrowwaste2_sml.gif
  29. BIN  images/icon_confirmsml.gif
  30. BIN  images/icon_doc_lrg.gif
  31. BIN  images/icon_doc_sml.gif
  32. BIN  images/icon_error_lrg.gif
  33. BIN  images/icon_error_sml.gif
  34. BIN  images/icon_folder_lrg.gif
  35. BIN  images/icon_folder_sml.gif
  36. BIN  images/icon_help_lrg.gif
  37. BIN  images/icon_help_sml.gif
  38. BIN  images/icon_info_lrg.gif
  39. BIN  images/icon_info_sml.gif
  40. BIN  images/icon_infosml.gif
  41. BIN  images/icon_members_lrg.gif
  42. BIN  images/icon_members_sml.gif
  43. BIN  images/icon_sortdown.gif
  44. BIN  images/icon_sortleft.gif
  45. BIN  images/icon_sortright.gif
  46. BIN  images/icon_sortup.gif
  47. BIN  images/icon_success_lrg.gif
  48. BIN  images/icon_success_sml.gif
  49. BIN  images/icon_usergroups_lrg.gif
  50. BIN  images/icon_usergroups_sml.gif
  51. BIN  images/icon_warning_lrg.gif
  52. BIN  images/icon_warning_sml.gif
  53. BIN  images/icon_waste_lrg.gif
  54. BIN  images/icon_waste_sml.gif
  55. BIN  images/nw_maj.gif
  56. BIN  images/nw_maj_hi.gif
  57. BIN  images/nw_maj_rond.gif
  58. BIN  images/nw_med.gif
  59. BIN  images/nw_med_hi.gif
  60. BIN  images/nw_med_rond.gif
  61. BIN  images/nw_min.gif
  62. BIN  images/nw_min_036.gif
  63. BIN  images/nw_min_hi.gif
  64. BIN  images/poweredby_036.gif
  65. BIN  images/product_logo.gif
  66. BIN  images/se_maj_rond.gif
  67. BIN  images/strich.gif
  68. BIN  images/sw_maj_rond.gif
  69. BIN  images/sw_med_rond.gif
  70. BIN  images/sw_min.gif
  71. +98 −118 index.php
  72. +82 −0 langs.php
  73. +1 −1  nav.html
  74. +15 −9 versions.html
View
2  bench/sieve/.up_date
@@ -1 +1 @@
-Fri May 28 01:59:59 2004
+Fri May 28 16:10:09 2004
View
22 bench/sieve/sieve.php
@@ -0,0 +1,22 @@
+#!/usr/local/bin/php -f
+<?php
+/*
+ $Id: sieve.php,v 1.1 2004-05-29 00:00:44 bfulgham Exp $
+ http://www.bagley.org/~doug/shootout/
+*/
+$n = ($argc == 2) ? $argv[1] : 1;
+$count = 0;
+while ($n-- > 0) {
+ $count = 0;
+ $flags = range (0,8192);
+ for ($i=2; $i<8193; $i++) {
+ if ($flags[$i] > 0) {
+ for ($k=$i+$i; $k <= 8192; $k+=$i) {
+ $flags[$k] = 0;
+ }
+ $count++;
+ }
+ }
+}
+print "Count: $count\n";
+?>
View
2  bench/spellcheck/.up_date
@@ -1 +1 @@
-Fri May 28 02:01:00 2004
+Fri May 28 16:40:49 2004
View
20 bench/spellcheck/spellcheck.php
@@ -0,0 +1,20 @@
+#!/usr/local/bin/php -f
+<?php
+/*
+ $Id: spellcheck.php,v 1.1 2004-05-29 00:00:44 bfulgham Exp $
+ http://www.bagley.org/~doug/shootout/
+*/
+$dict = array();
+$fd = fopen("Usr.Dict.Words", "r");
+while (!feof ($fd)) { $dict[chop(fgets($fd, 1024))] = 1; }
+fclose($fd);
+
+$fd = fopen("php://stdin", "r");
+while (!feof ($fd)) {
+ $word = chop(fgets($fd, 1024));
+ if (! $dict[$word]) {
+ print "$word\n";
+ }
+}
+fclose($fd);
+?>
View
14 bench/strcat/strcat.php
@@ -0,0 +1,14 @@
+#!/usr/local/bin/php -f
+<?php
+/*
+ $Id: strcat.php,v 1.1 2004-05-29 00:00:44 bfulgham Exp $
+ http://www.bagley.org/~doug/shootout/
+*/
+$n = ($argc == 2) ? $argv[1] : 1;
+$str = "";
+while ($n-- > 0) {
+ $str .= "hello\n";
+}
+$len = strlen($str);
+print "$len\n";
+?>
View
4 bin/make_versions
@@ -13,7 +13,9 @@ BEGIN {
sub main {
print <<EOF;
-<table border="1" cellspacing="2" cellpadding="4" bgcolor="#e0c0e0">
+<div class="toolgroups">
+ <div class="projecttools" class="toolgroup">
+ <table border="1" cellspacing="0" cellpadding="4">
<tr>
<th bgcolor="black" colspan="4"><font color="white">The Languages</font></th>
</tr>
View
146 css/inst.css
@@ -0,0 +1,146 @@
+/* $Id: inst.css,v 1.1 2004-05-29 00:00:44 bfulgham Exp $
+
+This file contains rules that extend or override the more basic formatting defined in tigris.css. Edit it to customize the look of applications using tigris.css (instances). You are responsible for maintaining your own set of (optional) deltas from tigris.css defaults; this file is intended as an example.
+
+*/
+
+/* colors, backgrounds, borders, link indication */
+#cn {
+ background-image: url(../images/corporate_logo.gif);
+ display: block;
+ height: 17px;
+ width: 138px;
+}
+
+#poweredby {
+ background-image: url(../images/poweredby_036.gif);
+ display: block;
+ height: 38px;
+ width: 102px;
+}
+
+#sc {
+ background-image: url(../images/product_logo.gif);
+ display: block;
+ height: 25px;
+ width: 138px;
+}
+
+#toptabs td, #toptabs th {
+ background-image: url(../images/nw_min_036.gif);
+}
+
+.app h3, #banner, #banner td, #toptabs {
+ background-color: #036;
+ color: #fff;
+}
+
+body #banner td a, .app h3 a, .app h4 a {
+ color: #fff !important;
+}
+
+#banner {
+ border-top: 1px solid #369;
+}
+
+#mytools .label, #projecttools .label, #admintools .label, #communitytools .label {
+ background-color: #ddd;
+ border: none;
+}
+
+#mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
+ background-color: #fff;
+ border-right: none;
+ border-bottom: none;
+ border-top: 1px solid #999;
+}
+
+#mytools, #projecttools, #admintools, #communitytools {
+ background-color: #ddd;
+ border-right: 1px solid #666;
+ border-bottom: 1px solid #666;
+}
+
+#helptext {
+ background-color: #ffc;
+}
+
+#helptext .label {
+ border-bottom: 1px solid #996;
+ border-right: 1px solid #996;
+ background-color: #cc9;
+}
+
+#helptext .body {
+ border-bottom: 1px solid #cc9;
+ border-right: 1px solid #cc9;
+}
+
+#topmodule {
+ background-color: #ddd;
+ border-top: 1px solid #fff;
+ border-bottom: 1px solid #aaa;
+}
+
+#topmodule #issueid {
+ border-right: 1px solid #aaa;
+}
+
+#login a:link, #login a:visited {
+ color: white;
+ text-decoration: underline;
+}
+
+#banner a:active, #banner a:hover {
+ color: #f90 !important;
+}
+
+#toptabs td {
+ border-bottom: 1px solid #666;
+ border-right: 1px solid #333;
+ border-left: 1px solid #036;
+}
+
+#toptabs th {
+ border-left: 1px solid #036;
+}
+
+/* font and text properties, exclusive of link indication, alignment, text-indent */
+#bodycol h2 {
+ font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
+ font-size: 1.5em;
+ font-weight: normal;
+}
+
+/* box properties (exclusive of borders), positioning, alignments, list types, text-indent */
+#toptabs {
+ margin: 0;
+ padding-top: .67em;
+ padding-left: 8px;
+}
+
+#topmodule {
+ margin: -4px -4px 0 -4px;
+}
+
+#topmodule td {
+ vertical-align: middle;
+ padding: 2px 8px;
+}
+
+#navcolumn {
+ margin-right: -4px;
+}
+
+#mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
+ padding-top: .33em;
+}
+
+#mytools, #projecttools, #admintools, #communitytools {
+ padding: 0 6px 6px 6px;
+ margin: -4px 0 6px -4px;
+}
+
+#mytools .label, #projecttools .label, #admintools .label, #communitytools .label {
+ padding-left: 2px;
+}
View
793 css/tigris.css
@@ -0,0 +1,793 @@
+/* $Id: tigris.css,v 1.1 2004-05-29 00:00:44 bfulgham Exp $
+
+ This file defines basic default formatting for HTML conforming to Tigris application style. To extend or override these rules for your instance, edit inst.css instead of this file. */
+
+/* colors, backgrounds, borders, link indication */
+body {
+ background: #fff;
+ color: #000;
+}
+
+.app h3, .app h4, .tabs td, .tabs th, .functnbar {
+ background-image: url(../images/nw_maj_rond.gif);
+ background-repeat: no-repeat;
+}
+
+.functnbar, .functnbar2 {
+ background-color: #aaa;
+}
+
+.functnbar2, .functnbar3 {
+ background-color: #aaa;
+ background-image: url(../images/sw_maj_rond.gif);
+ background-repeat: no-repeat;
+ background-position: bottom left;
+}
+
+.functnbar3 {
+ background-color: #ddd;
+ background-image: url(../images/sw_med_rond.gif);
+}
+
+.functnbar, .functnbar2, .functnbar3 {
+ color: #000;
+}
+
+.functnbar a, .functnbar2 a, .functnbar3 a {
+ color: #000;
+ text-decoration: underline;
+}
+
+#navcolumn .body div, body.docs #toc li li {
+ background-image: url(../images/strich.gif);
+ background-repeat: no-repeat;
+ background-position: .5em .5em;
+}
+
+#searchbox .body div, #navcolumn .body .heading {
+ background-image: none;
+}
+
+a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
+ color: blue;
+}
+
+a:link.selfref, a:visited.selfref {
+ color: #555 !important;
+ text-decoration: none;
+}
+
+a:active, a:hover, #leftcol a:active, #leftcol a:hover {
+ color: #f30 !important;
+}
+
+#leftcol a, #breadcrumbs a {
+ text-decoration: none;
+}
+
+.app h3, .app h4 {
+ color: #fff;
+}
+
+.app h3 {
+ background-color: #333;
+}
+
+.app h3 a:link, .app h3 a:visited, .app h4 a:link, .app h4 a:visited {
+ color: #fff !important;
+ text-decoration: underline;
+}
+
+.app h4 {
+ background-color: #888;
+}
+
+.a td {
+ background: #ddd;
+}
+
+.b td {
+ background: #efefef;
+}
+
+table, th, td {
+ border: none;
+}
+
+div.colbar {
+ background: #eee;
+ border-color: #999 #EEE #EEE #999;
+ border-width: 1px;
+ border-style: solid;
+}
+
+.toolgroup {
+ background: #efefef;
+}
+
+.toolgroup .label {
+ border-bottom: 1px solid #666;
+ border-right: 1px solid #666;
+ background: #ddd;
+ color: #555;
+}
+
+.toolgroup .body {
+ border-right: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+}
+
+#breadcrumbs {
+ border-top: 1px solid #fff;
+ background-color: #ccc;
+}
+
+#main {
+ border-top: 1px solid #999;
+}
+
+#rightcol div.www, #rightcol div.help {
+ border: 1px solid #ddd;
+}
+
+body.docs div.docs {
+ background-color: #fff;
+ border-left: 1px solid #ddd;
+ border-top: 1px solid #ddd;
+}
+
+#helptext .label {
+ background-image: url(../images/icon_help_sml.gif);
+ background-repeat: no-repeat;
+ background-position: 97%;
+}
+
+body.docs {
+ background: #eee url(../images/help_logo.gif) top right no-repeat !important;
+}
+
+.docs h3, .docs h4 {
+ border-top: solid 1px #000;
+}
+
+#apphead h2 em {
+ color: #777;
+}
+
+.app th {
+ background-color: #bbb;
+}
+
+.tabs th {
+ border-right: 1px solid #333;
+ background-color: #ddd;
+ color: #fff;
+ border-left: 1px solid #fff;
+}
+
+.tabs td {
+ background-color: #999;
+ border-bottom: 1px solid #fff;
+ border-right: 1px solid #fff;
+ border-left: 1px solid #fff;
+}
+
+.tabs {
+ border-bottom: 6px #ddd solid;
+}
+
+.tabs th, .tabs th a:link, .tabs th a:visited {
+ color: #555;
+}
+
+.tabs td, .tabs td a:link, .tabs td a:visited {
+ color: #fff;
+}
+
+.tabs a {
+ text-decoration: none;
+}
+
+.axial th {
+ background-color: #ddd;
+ color: black;
+}
+
+.alert {
+ background-color: #ff9;
+}
+
+.expandedwaste {
+ background: url(../images/icon_arrowwaste2_sml.gif) no-repeat;
+}
+
+.collapsedwaste {
+ background: url(../images/icon_arrowwaste1_sml.gif) no-repeat;
+}
+
+.filebrowse .expanded, .filebrowse-alt .expanded {
+ background-image: url(../images/icon_arrowfolderopen2_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.filebrowse .collapsed, .filebrowse-alt .collapsed {
+ background-image: url(../images/icon_arrowfolderclosed1_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.filebrowse .leafnode, .filebrowse-alt .leafnode {
+ background-image: url(../images/icon_folder_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.filebrowse .leaf, .filebrowse-alt .leaf {
+ background-image: url(../images/icon_doc_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.sortup {
+ background: url(../images/icon_sortup.gif) no-repeat;
+}
+
+.sortdown {
+ background: url(../images/icon_sortdown.gif) no-repeat;
+}
+
+.collapsedwaste {
+ background: url(../images/icon_arrowwaste1_sml.gif) no-repeat;
+}
+
+body .grid td {
+ border-top: 1px solid #ccc;
+ border-left: 1px solid #ccc;
+ background-color: transparent;
+}
+
+.confirm {
+ color: #090;
+}
+
+.info {
+ color: #069;
+}
+
+.errormessage, .warningmessage, .donemessage, .infomessage {
+ border-top: 5px solid #900;
+ border-left: 1px solid #900;
+ background-image: url(../images/icon_error_lrg.gif);
+ background-repeat: no-repeat;
+ background-position: 5px 1.33em;
+}
+
+.warningmessage {
+ background-image: url(../images/icon_warning_lrg.gif);
+ border-color: #c60;
+}
+
+.donemessage {
+ background-image: url(../images/icon_success_lrg.gif);
+ border-color: #090;
+}
+
+.infomessage {
+ background-image: url(../images/icon_info_lrg.gif);
+ border-color: #069;
+}
+
+.docinfo {
+ background: url(../images/icon_doc_lrg.gif) no-repeat;
+}
+
+.dirinfo {
+ background: url(../images/icon_folder_lrg.gif) no-repeat;
+}
+
+.memberinfo {
+ background: url(../images/icon_members_lrg.gif) no-repeat;
+}
+
+.usergroupinfo {
+ background: url(../images/icon_usergroups_lrg.gif) no-repeat;
+}
+
+.errormark, .warningmark, .donemark, .infomark {
+ background: url(../images/icon_error_sml.gif) no-repeat;
+}
+
+.warningmark {
+ background-image: url(../images/icon_warning_sml.gif);
+}
+
+.donemark {
+ background-image: url(../images/icon_success_sml.gif);
+}
+
+.infomark {
+ background-image: url(../images/icon_info_sml.gif);
+}
+
+.cvsdiff, .cvsblame {
+ background-color: #ccc;
+}
+
+.cvsdiffadd {
+ background-color: #afa;
+}
+
+.cvsdiffremove {
+ background-color: #faa;
+}
+
+.cvsdiffchanges1 {
+ background-color: #ff7;
+}
+
+.cvsdiffchanges2 {
+ background-color: #ff7;
+}
+
+li.selection ul a {
+ background: #fff;
+}
+
+.band1 {
+ color: #fff;
+ background-color: #663;
+}
+
+.band2 {
+ color: #fff;
+ background-color: #66C;
+}
+
+.band3 {
+ background-color: #C99;
+}
+
+.band4 {
+ background-color: #CFF;
+}
+
+.band5 {
+ color: #fff;
+ background-color: #336;
+}
+
+.band6 {
+ color: #fff;
+ background-color: #966;
+}
+
+.band7 {
+ background-color: #9CC;
+}
+
+.band8 {
+ background-color: #FFC;
+}
+
+.band9 {
+ color: #fff;
+ background-color: #633;
+}
+
+.band10 {
+ color: #fff;
+ background-color: #699;
+}
+
+.band11 {
+ background-color: #CC9;
+}
+
+.band12 {
+ background-color: #CCF;
+}
+
+.band13 {
+ color: #fff;
+ background-color: #366;
+}
+
+.band14 {
+ color: #fff;
+ background-color: #996;
+}
+
+.band15 {
+ background-color: #99C;
+}
+
+.band16 {
+ background-color: #FCC;
+}
+
+.app .helplink, #helptext .helplink {
+ cursor: help;
+}
+
+.legend th, .bars th {
+ background-color: #fff;
+}
+
+/* font and text properties, exclusive of link indication, alignment, text-indent */
+body, th, td, input, select {
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+}
+
+code, pre {
+ font-family: 'Andale Mono', Courier, monospace;
+}
+
+body, .app h3, .app h4, #rightcol h3, pre, code, #apphead h2 small {
+ font-size: x-small;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: small;
+}
+
+small, div#footer, div#login, div.tabs th, div.tabs td, input, select, .paginate, .functnbar, .functnbar2, .functnbar3, #breadcrumbs, .courtesylinks, #rightcol div.help, .colbar, .tasknav, body.docs div#toc, #leftcol, .legend, .bars {
+ font-size: xx-small;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
+
+.tabs td, .tabs th, dt, .tasknav .selfref, #login .username, .selection {
+ font-weight: bold;
+}
+
+li.selection ul {
+ font-weight: normal;
+}
+
+h4, table {
+ font-size: 1em;
+}
+
+#apphead h2 em {
+ font-style: normal;
+}
+
+#banner h1 {
+ font-size: 1.25em;
+}
+
+/* box properties (exclusive of borders), positioning, alignments, list types, text-indent */
+#bodycol h2 {
+ margin-top: .3em;
+ margin-bottom: .5em;
+}
+
+p, ul, ol, dl, .bars table {
+ margin-top: .67em;
+ margin-bottom: .67em;
+}
+
+h3, h4 {
+ margin-bottom: 0;
+}
+
+form {
+ margin: 0;
+}
+
+#bodycol {
+ padding-left: 12px;
+ padding-right: 12px;
+ width: 100%;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ width: auto;
+}
+
+html>body #bodycol {
+ width: auto;
+}
+
+.docs {
+ line-height: 1.4;
+}
+
+ol ol {
+ list-style-type: lower-alpha;
+}
+
+ol ol ol {
+ list-style-type: lower-roman;
+}
+
+.app h3, .app h4 {
+ padding: 5px;
+ margin-right: 2px;
+ margin-left: 2px;
+}
+
+.app td, .app th {
+ padding: 2px 3px;
+}
+
+.h3 p, .h4 p, .h3 dt, .h4 dt {
+ margin-right: 7px;
+ margin-left: 7px;
+}
+
+.tasknav {
+ margin-bottom: 1.33em;
+}
+
+div.colbar {
+ padding: 3px;
+ margin: 2px 2px 0;
+}
+
+.tabs {
+ margin-top: .67em;
+ margin-right: 2px;
+ margin-left: 2px;
+ padding-left: 8px;
+}
+
+.tabs td, .tabs th {
+ padding: 3px 9px;
+}
+
+#rightcol div.www, #rightcol div.help {
+ padding: 0 .5em;
+}
+
+body.docs #toc {
+ position: absolute;
+ top: 15px;
+ left: 0px;
+ width: 120px;
+ padding: 0 20px 0 0;
+}
+
+body.docs #toc ul, #toc ol {
+ margin-left: 0;
+ padding-left: 0;
+}
+
+body.docs #toc li {
+ margin-top: 7px;
+ padding-left: 10px;
+ list-style-type: none;
+}
+
+body.docs div.docs {
+ margin: 61px 0 0 150px;
+ padding: 1em 2em 1em 1em !important;
+}
+
+.docs p+p {
+ text-indent: 5%;
+ margin-top: -.67em;
+}
+
+.docs h3, .docs h4 {
+ margin-bottom: .1em;
+ padding-top: .3em;
+}
+
+.functnbar, .functnbar2, .functnbar3 {
+ padding: 5px;
+ margin: .67em 2px;
+}
+
+.functnbar3 {
+ margin-top: 0;
+}
+
+body {
+ padding: 1em;
+}
+
+body.composite, body.docs {
+ margin: 0;
+ padding: 0;
+}
+
+th, td {
+ text-align: left;
+ vertical-align: top;
+}
+
+.right {
+ text-align: right !important;
+}
+
+.center {
+ text-align: center !important;
+}
+
+.axial th, .axial th .strut {
+ text-align: right;
+}
+
+.app .axial td th {
+ text-align: left;
+}
+
+body .stb {
+ margin-top: 1em;
+ text-indent: 0;
+}
+
+body .mtb {
+ margin-top: 2em;
+ text-indent: 0;
+}
+
+.courtesylinks {
+ margin-top: 1em;
+ padding-top: 1em;
+}
+
+dd {
+ margin-bottom: .67em;
+}
+
+.toolgroup {
+ margin-bottom: 6px;
+}
+
+.toolgroup .body {
+ padding: 4px 4px 4px 0;
+}
+
+.toolgroup .label {
+ padding: 4px;
+}
+
+.toolgroup .body div {
+ padding-bottom: .3em;
+ padding-left: 1em;
+}
+
+.toolgroup .body div div {
+ margin-top: .3em;
+ padding-bottom: 0;
+}
+
+.tier1 {
+ margin-left: 0;
+}
+
+.tier2 {
+ margin-left: 1.5em;
+}
+
+.tier3 {
+ margin-left: 3em;
+}
+
+.tier4 {
+ margin-left: 4.5em;
+}
+
+.tier5 {
+ margin-left: 6em;
+}
+
+.tier6 {
+ margin-left: 7.5em;
+}
+
+.tier7 {
+ margin-left: 9em;
+}
+
+.tier8 {
+ margin-left: 10.5em;
+}
+
+.tier9 {
+ margin-left: 12em;
+}
+
+.tier10 {
+ margin-left: 13.5em;
+}
+
+.filebrowse .expanded, .filebrowse .collapsed {
+ padding-left: 34px;
+}
+
+.filebrowse .leafnode, .filebrowse .leaf {
+ padding-left: 20px;
+}
+
+.messagechild {
+ padding-left: 34px;
+}
+
+.filebrowse-alt .expanded, .filebrowse-alt .collapsed, .filebrowse-alt .leaf, .filebrowse-alt .leafnode, .expandedwaste, .collapsedwaste, .sortup, .sortdown {
+ /* hide from macie5\*/
+ float: left;
+ /* resume */
+ display: inline-block;
+ height: 15px;
+ width: 34px;
+ padding-left: 0 !important;
+}
+
+.filebrowse-alt .leaf, .filebrowse-alt .leafnode, .sortup, .sortdown {
+ width: 20px;
+}
+
+.filebrowse ul, .filebrowse-alt ul {
+ list-style-type: none;
+ padding-left: 0;
+ margin-left: 0;
+}
+
+.filebrowse ul ul, .filebrowse-alt ul ul {
+ margin-left: 1.5em;
+ margin-top: 0;
+ padding-top: .67em;
+}
+
+.filebrowse li, .filebrowse-alt li {
+ margin-bottom: .67em;
+}
+
+td.filebrowse h3 {
+ margin-top: 0;
+}
+
+.errormessage, .warningmessage, .donemessage, .infomessage, .docinfo, .dirinfo, .memberinfo, .usergroupinfo {
+ margin: .67em 0;
+ padding: .33em 0 .67em 42px;
+ min-height: 32px;
+}
+
+.errormark, .warningmark, .donemark, .infomark {
+ padding-left: 20px;
+ min-height: 15px;
+}
+
+.alt {
+ display: none;
+}
+
+#banner h1 {
+ margin: 0;
+}
+
+#leftcol {
+ width: 14em;
+}
+
+.axial th, .axial th .strut, #leftcol .strut {
+ width: 12em;
+}
+
+#breadcrumbs {
+ padding: 2px 8px;
+}
+
+.app h3, .app h4, .bars {
+ clear: both;
+}
+
+.legend {
+ float: right;
+}
+
+.legend th, .bars th {
+ text-align: right;
+ padding-left: 1em;
+}
+
+.bars table {
+ table-layout: fixed;
+}
+
+.bars th {
+ width: 12em;
+}
+
+#projectdocumentlist td.filebrowse-alt {
+ padding-right: .75em;
+}
View
10 html/footer.php
@@ -0,0 +1,10 @@
+<div id="footer">
+ <table border="0" cellspacing="0" cellpadding="4">
+ <tr>
+ <td><a href="index.phtml">Back to the Language Shootout</a></td>
+ <td align="right"><a href="contact.phtml">Send me comments or suggestions</a>.</td>
+ </tr>
+ </table>
+</div>
+</body>
+</html>
View
18 html/header.php
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+ <title>The Great Computer Language Shootout</title>
+ <meta name="keywords" content="performance, benchmark, computer, algorithms, languages, compare, cpu, memory">
+ <link REL="stylesheet" TYPE="text/css" HREF="/css/tigris.css" />
+ <link REL="stylesheet" TYPE="text/css" HREF="/css/inst.css" />
+</head>
+<body onload="focus()" marginwidth="0" marginheight="0" class="composite">
+ <div id="banner">
+ <table width="100%">
+ <tr>
+ <td><h2>The Great Computer Language Shootout</h2></td>
+ <td align="right"><a href="index.php">Back to the Language Shootout</a><br></td>
+ </tr>
+ </table>
+ </div>
+
View
21 html/header.phtml
@@ -3,17 +3,16 @@
<head>
<title>The Great Computer Language Shootout</title>
<meta name="keywords" content="performance, benchmark, computer, algorithms, languages, compare, cpu, memory">
- <link REL="stylesheet" TYPE="text/css" HREF="../css/tigris.css" />
- <link REL="stylesheet" TYPE="text/css" HREF="../css/inst.css" />
+ <link REL="stylesheet" TYPE="text/css" HREF="/css/tigris.css" />
+ <link REL="stylesheet" TYPE="text/css" HREF="/css/inst.css" />
</head>
-
+<body class="composite">
<div id="banner">
-<table width="100%">
-<tr><td><h2>The Great Computer Language Shootout</h2></td>
-<td align="right">
- <a href="index.php">Back to the Language Shootout</a><br>
-</td>
-</tr>
-</table>
+ <table width="100%">
+ <tr>
+ <td><h2>The Great Computer Language Shootout</h2></td>
+ <td align="right"><a href="index.php">Back to the Language Shootout</a><br></td>
+ </tr>
+ </table>
+</div>
-<hr size="5" noshade>
View
BIN  images/corporate_logo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/file.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/folder-closed.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/folder-open.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/help_logo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_alert.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_alertsml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowfolder1_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowfolder2_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowfolderclosed1_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowfolderopen2_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowmembers1_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowmembers2_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowusergroups1_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowusergroups2_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowwaste1_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_arrowwaste2_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_confirmsml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_doc_lrg.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_doc_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_error_lrg.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_error_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_folder_lrg.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_folder_sml.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_help_lrg.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/icon_help_sml.gif
Diff not rendered
View
BIN  images/icon_info_lrg.gif
Diff not rendered
View
BIN  images/icon_info_sml.gif
Diff not rendered
View
BIN  images/icon_infosml.gif
Diff not rendered
View
BIN  images/icon_members_lrg.gif
Diff not rendered
View
BIN  images/icon_members_sml.gif
Diff not rendered
View
BIN  images/icon_sortdown.gif
Diff not rendered
View
BIN  images/icon_sortleft.gif
Diff not rendered
View
BIN  images/icon_sortright.gif
Diff not rendered
View
BIN  images/icon_sortup.gif
Diff not rendered
View
BIN  images/icon_success_lrg.gif
Diff not rendered
View
BIN  images/icon_success_sml.gif
Diff not rendered
View
BIN  images/icon_usergroups_lrg.gif
Diff not rendered
View
BIN  images/icon_usergroups_sml.gif
Diff not rendered
View
BIN  images/icon_warning_lrg.gif
Diff not rendered
View
BIN  images/icon_warning_sml.gif
Diff not rendered
View
BIN  images/icon_waste_lrg.gif
Diff not rendered
View
BIN  images/icon_waste_sml.gif
Diff not rendered
View
BIN  images/nw_maj.gif
Diff not rendered
View
BIN  images/nw_maj_hi.gif
Diff not rendered
View
BIN  images/nw_maj_rond.gif
Diff not rendered
View
BIN  images/nw_med.gif
Diff not rendered
View
BIN  images/nw_med_hi.gif
Diff not rendered
View
BIN  images/nw_med_rond.gif
Diff not rendered
View
BIN  images/nw_min.gif
Diff not rendered
View
BIN  images/nw_min_036.gif
Diff not rendered
View
BIN  images/nw_min_hi.gif
Diff not rendered
View
BIN  images/poweredby_036.gif
Diff not rendered
View
BIN  images/product_logo.gif
Diff not rendered
View
BIN  images/se_maj_rond.gif
Diff not rendered
View
BIN  images/strich.gif
Diff not rendered
View
BIN  images/sw_maj_rond.gif
Diff not rendered
View
BIN  images/sw_med_rond.gif
Diff not rendered
View
BIN  images/sw_min.gif
Diff not rendered
View
216 index.php
@@ -1,13 +1,20 @@
-<?php require("html/header.phtml"); ?>
+<?php require("html/header.php"); ?>
<?php require("nav.html"); ?>
-<hr size="5" noshade>
+<div class="tabs" id="toptabs">
+ <table border="0" cellspacing="0" cellpadding="4" id="main">
+ <tr>
+ <th><a href="index.php">Introduction</a></th>
+ <td><a href="langs.php">Languages</a></td>
+ </tr>
+ </table>
+</div>
<table border="0" cellspacing="0" cellpadding="4" id="main" width="100%">
<tr valign="top">
<td id="leftcol" width="20%">
<div id="navcolumn">
- <div id="projecttools" class="toolgroups">
+ <div id="projecttools" class="toolgroup">
<div class="label">
<strong>The Benchmark Tests</strong>
</div>
@@ -41,7 +48,7 @@
</div>
<div id="helptext" class="toolgroup">
<div class="label">
- <strong>Note:</strong>
+ <strong>Notes:</strong>
</div>
<div class="body">
<div><a href="#">Not all languages are tested in every benchmark</a></div>
@@ -57,129 +64,102 @@
<div><a href="compare/binext/">Creating Binary Extensions</a></div>
</div>
</div>
+ <div class="strut">&nbsp;</div>
</td>
<td>
<div id="bodycol">
<div id="apphead">
<h2>A benchmark comparison of a number of programming languages.</h2>
</div>
- <div class="h3" id="intro">
- <h3>Intro</h3>
- <p>This is an updated version of Doug Bagley's original <a href=
-"http://www.bagley.org/~doug/shootout">Great Computer Language Shootout</a>, updated with new languages and revised to work with modern compilers.</p>
- <p>When I started this project, my goal was to compare all the major
-scripting languages. Then I started adding in some compiled languages for comparison ... and it's still growing with no end in sight (so be sure to read the <a href="news.phtml">NEWS</a>). I'm doing it so that I can learn about new languages, compare them in various (possibly meaningless) ways, and most importantly, have some fun.</p>
- <p>Someday, maybe, the results I present might even be meaningful, but
-please take the current results with a grain of salt. You might get different results on a different OS, on different hardware, with newer releases of the languages, or even from run to run of the same test. You might even find that I have horrible bugs in my testing <a href="method.shtml">method</a>.</p>
- <p><u>This is very much a work in progress</u>, as it evolves I may add, change or remove languages, tests, or solutions. Some solutions as currently presented are unoptimized, and may be optimized in the future (if I can do it myself or if someone contributes a better solution).</p>
- <ul><font size="-1">
- <p><b>Disclaimer No. 1:</b> I'm just a beginner in many of these languages, so if you can help me improve any of the solutions, please drop me an <a
+ <div class="app" id="projecthome" >
+ <div class="h3" id="intro">
+ <h3>Intro</h3>
+ <p>This is an updated version of Doug Bagley's original
+ <a href="http://www.bagley.org/~doug/shootout">
+ Great Computer Language Shootout</a>, updated with new languages
+ and revised to work with modern compilers.</p>
+ <p>Originally, the project goal was to compare all the major
+ scripting languages. Later, compiled languages were added for
+ comparison and now are a major component of the benchmark.</p>
+ <p>The project goals have not changed substantially since Doug's
+ original project. This work is continuing so that we all can
+ learn about new languages, compare them in various (possibly
+ meaningless) ways, and most importantly, have some fun!</p>
+ <p>Someday, maybe, the results we present might be meaningful, but
+ please take the current results with a grain of salt. You might
+ get different results on a different OS, on different hardware,
+ with newer releases of the languages, or even from run to run of
+ the same test. You might even find that horrible bugs still lurk
+ in the testing <a href="method.shtml">method</a>.</p>
+ <p><u>This is very much a work in progress!</u> As it evolves we
+ may add, change, or remove languages, tests, or solutions. Some
+ solutions as currently presented are unoptimized, and may be
+ optimized in the future (especially if people contribute better
+ solutions).</p>
+
+ <ul>
+ <p class="warningmark"><strong>Disclaimer No. 1:</strong> I'm just a beginner in many
+ of these languages, so if you can help me improve any of the
+ solutions, please drop me an <a
href="mailto:(Doug Bagley) doug+(hairyrfc822)nospam.shootout@bagley(not .com).org">email</a>. Thanks.</p>
- <p><b>Disclaimer No. 2:</b> These pages are provided for novelty
-purposes only. Any other use voids the manufacturer's warranty. Do not mix with alchohol. Some contents may consist of recycled materials.</p>
- <p><b>Disclaimer No. 3:</b> <a href="http://www.lib.uchicago.edu/keith/crisis/disclaimer.html">ditto</a>.</p>
- <p><b>Disclaimer No. 4:</b> Please read the pages on <a href="method.shtml">Methodology</a>, the <a href="faq.shtml">FAQ</a>, and <a href="conclusion.shtml">my Conclusion</a> before you flame.</p>
- </font></ul>
- <p>By the way, the word <i>Great</i> in the title refers to quantity,
-not quality (I will let the reader judge that). I saw a need for a more comprehensive language comparison than what I could find out on the Net, and you are reading my solution. I wanted to see a comparison of more languages doing more tests, and with (hopefully) the participation of more people.</p>
- <p>Aldo Calpini has put a huge amount of work into <a href="http://dada.perl.it/shootout">porting my shootout to Microsoft Windows</a>. He even
-includes some new languages and some commercial compilers that run on Windows. Please click <a href="http://dada.perl.it/shootout">here</a> to check it out.
-(Please note that there may be some differences in his port. It is really a separate, derivative work). Many thanks to Aldo!</p>
- </div>
- <div class="h3" id="download">
- <h3>Download</h3>
- <p>You can now download the entire shootout as a compressed tarball from the <a href="download">download page</a>. The current distribution is about 1.5MB and it is approximately alpha quality (it is probably suitable only for the adventurous). The tarball is now updated nightly. I will try to keep the <a href="news.phtml">News</a> up-to-date to explain the new stuff.</p>
- </div>
- <div class="h3" id="links">
- <h3>Links</h3>
- <p>I found the following links of interest while working on this project:</p>
- <ul>
- <!-- busted link
+ <p class="warningmark"><strong>Disclaimer No. 2:</strong> These pages are provided for
+ novelty purposes only. Any other use voids the manufacturer's
+ warranty. Do not mix with alchohol. Some contents may consist
+ of recycled materials. Contents packaged by weight. Some
+ settling of volume may occur.</p>
+ <p class="warningmark"><strong>Disclaimer No. 3:</strong> <a href="http://www.lib.uchicago.edu/keith/crisis/disclaimer.html">ditto</a>.</p>
+ <p class="warningmark"><strong>Disclaimer No. 4:</strong> Please read the pages on
+ <a href="method.shtml">Methodology</a>, the <a href="faq.shtml">
+ FAQ</a>, and <a href="conclusion.shtml">Conclusions</a> before
+ you flame.</p>
+ </ul>
+ <p>By the way, the word <em>Great</em> in the title refers to
+ quantity, not quality (history shall be the judge of that).
+ I saw a need for a more comprehensive language comparison than
+ what I could find out on the 'Net, and you are reading the
+ solution. I wanted to see a comparison of more languages doing
+ more tests, and with (hopefully) the participation of more people.</p>
+ <p>Aldo Calpini has put a huge amount of work into
+ <a href="http://dada.perl.it/shootout">porting the shootout to
+ Microsoft Windows</a>. He even includes some new languages and
+ some commercial compilers that run on Windows. Please
+ <a href="http://dada.perl.it/shootout">check it out</a>.
+ (Please note that there may be some differences in his port. It
+ is really a separate, derivative work). Many thanks to Aldo!</p>
+ </div>
+ <div class="h3" id="download">
+ <h3>Download</h3>
+ <p>You can now download the entire shootout as a <a href=
+ "http://alioth.debian.org/tarballs.php/?group_id=10039">
+ compressed tarball</a>. The current distribution is about 1.5MB
+ and it is approximately alpha quality (it is probably suitable
+ only for the adventurous). The tarball is updated nightly. I
+ will try to keep the <a href="news.phtml">News</a> up-to-date to
+ explain the new stuff.</p>
+ </div>
+ <div class="h3" id="links">
+ <h3>Links</h3>
+ <p>I found the following links of interest while working on this
+ project:</p>
+ <ul>
+ <!-- busted link
<li><a href="http://wwwipd.ira.uka.de/~prechelt/Biblio/jccpprt_computer2000.ps.gz">An empirical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl for a search/string-processing program</a> by Lutz Prechelt (gzipped Postscript).</li> -->
- <li><a href="http://huzhe.topcities.com/LanguageStudy.htm">A Comparison of Programming Languages for Scientific Processing</a> by D. McClain</li>
- <li><a href="http://phaseit.net/claird/comp.lang.misc/language_comparisons.html"> Cameron Laird's personal notes on language comparisons</a></li>
- <li><a href="http://directory.google.com/Top/Computers/Programming/Languages/">Computers > Programming > Language</a> at Google Web directory.</li>
- <li><a href="http://www.tunes.org/Review/Languages.html">Review of existing Languages</a> at Tunes.org</li>
- <li><a href="http://www.people.Virginia.EDU/~sdm7g/LangCrit/">Programming Language Critiques</a> by Steven D. Majewski</li>
- <li><a href="http://www.angelfire.com/tx4/cus/shapes/index.html">OO Shape Examples</a> by Chris Rathman</li>
- <li><a href="http://pleac.sourceforge.net/">PLEAC - Programming Language Examples Alike Cookbook</a></li>
- <li><a href="http://www.uni-karlsruhe.de/~uu9r/lang/html/lang.en.html">Michael Neumann's page comparing some small programs over 100+ languages.</a></li>
- </ul>
- </div>
- </div>
- </td>
-</tr>
-</table>
-
-<br>
-
-<table border="0" cellspacing="0" cellpadding="4" id="main" width="100%">
- <tr valign="top">
- <td>
- <?php require("versions.html"); ?>
- </td>
- <td valign="top" bgcolor="white">
- <div class="h3" id="langs">
- <h3>About the Languages</h3>
- <p>The languages compared here are a mixture of compiled and interpreted,
-functional and imperative. Compiled languages have the natural advantage of running machine code that can be optimized by the compiler. The interpreted languages are often byte-compiled, and sometimes optimized. Many of the tests were
-designed to really test imperative features, and do not fairly test some languages (like Haskell). If you want to compare languages of the same <i>type</i>, consider:
-<ul>
-<li>
-The languages that are in <b><i>bold italics</i></b> compile to machine
-code. The others are either byte-compiled or just interpreted.
-<p>
-When using C and C++, I think it is normal and expected to use
-external libraries. In this vein, we'll often use
-
-<a href="http://www.sgi.com/tech/stl/">STL</a>
-<a href="http://www.sgi.com/tech/stl/download.html">v3.3</a>
-
-with C++.
-<p>
-However, with most other languages we will try to use only features
-in the language's core or its standard libraries.
-<p>
-There is also a very handy library for doing Perl Compatible Regular
-Expressions: PCRE (see the <a href="bench/regexmatch">Regular
-Expression Matching</a> test), which I will use with some languages.
-<br><br><li>
-Bigloo Scheme, CMU Common Lisp, SmallEiffel, GHC (Haskell), Mercury,
-Ocaml, and SML/NJ compile to native code. Some are actually
-compiled to intermediate C first.
-<br><br><li>
-Sun's Java uses a JIT compiler so the code is compiled to native code
-on the fly.
-<br><br><li>
-Guile, Lua, Perl, Python, Rep, Ruby and Tcl are all interpreted
-<i>scripting</i> / <i>extension</i> languages, and they can probably
-all be considered competitors in the same space. Perl, Python, Ruby
-and Tcl all come with extensive libraries in their standard
-distributions. Guile and Rep have less extensive libraries, and Lua
-is absolutely tiny, with no extra libraries.
-<br><br><li>
-Pike and Icon are not strictly extension languages but are similar
-in many ways to the previous group.
-<br><br><li>
-Erlang also compiles to bytecodes, but it isn't really thought of as
-a scripting language.
-<br><br><li>
-AWK is really just a scripting language, it's not typically embedded
-or extended with C or other compiled languages.
-<br><br><li>
-Gforth is an interpreted forth, and it can produce extremely fast
-code. But Forth is a pretty low-level language, and optimization
-usually left up to the programmer.
-<br><br><li>
-I include Bash just for fun, and often resort to the standard bash
-programming technique of calling the usual Unix shell commands.
-</ul>
-
-</td></tr>
-</table>
-
+ <p class="infomark"><a href="http://huzhe.topcities.com/LanguageStudy.htm">A Comparison of Programming Languages for Scientific Processing</a> by D. McClain</p>
+ <p class="infomark"><a href="http://phaseit.net/claird/comp.lang.misc/language_comparisons.html"> Cameron Laird's personal notes on language comparisons</a></p>
+ <p class="infomark"><a href="http://directory.google.com/Top/Computers/Programming/Languages/">Computers > Programming > Language</a> at Google Web directory.</p>
+ <p class="infomark"><a href="http://www.tunes.org/Review/Languages.html">Review of existing Languages</a> at Tunes.org</p>
+ <p class="infomark"><a href="http://www.people.Virginia.EDU/~sdm7g/LangCrit/">Programming Language Critiques</a> by Steven D. Majewski</p>
+ <p class="infomark"><a href="http://www.angelfire.com/tx4/cus/shapes/index.html">OO Shape Examples</a> by Chris Rathman</p>
+ <p class="infomark"><a href="http://pleac.sourceforge.net/">PLEAC - Programming Language Examples Alike Cookbook</a></p>
+ <p class="infomark"><a href="http://www.uni-karlsruhe.de/~uu9r/lang/html/lang.en.html">Michael Neumann's page comparing some small programs over 100+ languages.</a></p>
+ </ul>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </table>
-<?php require("html/footer.phtml") ?>
+<?php require("html/footer.php") ?>
<!-- nobody really reads the mail sent to these addresses ... can ya dig it? -->
<a href="mailto:charlescosgroveclean007@net-sieve.com">&nbsp;</a>
View
82 langs.php
@@ -0,0 +1,82 @@
+<?php require("html/header.php"); ?>
+<?php require("nav.html"); ?>
+
+<div class="tabs" id="toptabs">
+ <table border="0" cellspacing="0" cellpadding="4" id="main">
+ <tr>
+ <td><a href="index.php">Introduction</a></td>
+ <th><a href="langs.php">Languages</a></th>
+ </tr>
+ </table>
+</div>
+
+<table border="0" cellspacing="0" cellpadding="4" id="main" width="100%">
+ <tr valign="top">
+ <td id="leftcol" width="60%">
+ <?php require("versions.html"); ?>
+ </td>
+ <td>
+ <div id="bodycol">
+ <div class="app">
+ <div class="h3" id="langs">
+ <h3>About the Languages</h3>
+ <p>The languages compared here are a mixture of compiled and
+ interpreted, functional and imperative. Compiled languages have
+ the natural advantage of running machine code that can be
+ optimized by the compiler. The interpreted languages are often
+ byte-compiled, and sometimes optimized. Many of the tests were
+ originally designed to test imperative features, and do not fairly
+ test some languages (like Haskell). If you want to compare
+ languages of the same <em>type</em>, consider:
+ <ul>
+ <li>The languages that are in <b><i>bold italics</i></b> compile
+ to machine code. The others are either byte-compiled or just
+ interpreted.
+ <p>When using C and C++, I think it is normal and expected to
+ use external libraries. In this vein, we'll often use
+ <a href="http://www.sgi.com/tech/stl/">STL</a>
+ <a href="http://www.sgi.com/tech/stl/download.html">v3.3</a>
+ with C++.</p>
+ <p>However, with most other languages we will try to use only
+ features in the language's core or its standard libraries.</p>
+ <p>There is also a very handy library for doing Perl Compatible
+ Regular Expressions: PCRE (see the <a href="bench/regexmatch">
+ Regular Expression Matching</a> test), which I will use with
+ some languages.</p></li>
+ <li>Bigloo Scheme, Clean, CMU Common Lisp, Gwydion Dylan,
+ SmallEiffel, GHC (Haskell), Ocaml, MLton, and SML/NJ compile to
+ native code. Some are actually compiled to intermediate C
+ first.</li><br>
+ <li>Sun's Java uses a JIT compiler so the code is compiled to
+ native code on the fly.</li><br>
+ <li>Guile, Lua, MzScheme, Oz, Perl, PHP, Python, Rep, Ruby and
+ Tcl are all interpreted <i>scripting</i> / <i>extension</i>
+ languages, and they can probably all be considered competitors
+ in the same space. Perl, Python, Ruby and Tcl all come with
+ extensive libraries in their standard distributions. Guile and
+ Rep have less extensive libraries, and Lua is absolutely tiny,
+ with no extra libraries.</li><br>
+ <li>Pike and Icon are not strictly extension languages but are
+ similar in many ways to the previous group.</li><br>
+ <li>Erlang also compiles to bytecodes, but it isn't really
+ thought of as a scripting language.</li><br>
+ <li>AWK is really just a scripting language, it's not typically
+ embedded or extended with C or other compiled languages.</li><br>
+ <li>Gforth is an interpreted forth, and it can produce extremely
+ fast code. But Forth is a pretty low-level language, and
+ optimization usually left up to the programmer.</li><br>
+ <li>Bash is included just for fun. Its test often resort to the
+ standard bash programming technique of calling the usual Unix
+ shell commands.</li><br>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<?php require("html/footer.php") ?>
+<!-- nobody really reads the mail sent to these addresses ... can ya dig it? -->
+<a href="mailto:charlescosgroveclean007@net-sieve.com">&nbsp;</a>
+<a href="mailto:jack.bo.sh@infospeed.net">&nbsp;</a>
View
2  nav.html
@@ -1,4 +1,4 @@
-<center>
+<div id="banner"><center>
<a href="news.phtml">[NEWS]</a>
<a href="editorial.shtml">[Editorial]</a>
<a href="faq.shtml">[FAQ]</a>
View
24 versions.html
@@ -1,11 +1,17 @@
-<table border="1" cellspacing="2" cellpadding="4" bgcolor="#e0c0e0">
-<tr>
- <th bgcolor="black" colspan="4"><font color="white">The Languages</font></th>
-</tr>
-<tr>
- <th bgcolor="black" colspan="2"><font color="white">Language</font></th>
- <th bgcolor="black"><font color="white">Imple-<br>mentation<br><small>(local&nbsp;summary)</small></font></th>
- <th bgcolor="black"><font color="white">Version<br><small>(Official&nbsp;Homepage)</small></font></th></tr>
+<div class="navcolumn">
+ <div id="projecttools" class="toolgroup">
+ <table border="1" cellspacing="0" cellpadding="4">
+ <div class="label">
+ <tr>
+ <th colspan="4">The Languages</th>
+ </tr>
+ <tr>
+ <th colspan="2">Language</th>
+ <th>Imple-<br>mentation<br><small>(local&nbsp;summary)</small></th>
+ <th>Version<br><small>(Official&nbsp;Homepage)</small></th>
+ </tr>
+ </div>
+ <div class="body">
<tr>
<td align="right">1.</td>
<td>Ada</td>
@@ -183,4 +189,4 @@
<td>Tcl</td>
<td><a href="lang/tcl/">tcl</a></td>
<td><a href="http://dev.scriptics.com/">Tcl 8.4.6</a></td></tr>
-<tr><td colspan="4"><small>Languages that compile to native code are in <i><b>Bold Italics</b></i></small>.</td></tr></table>
+<tr><td colspan="4"><small>Languages that compile to native code are in <i><b>Bold Italics</b></i></small>.</td></tr></div></table></div>
Please sign in to comment.
Something went wrong with that request. Please try again.