diff --git a/todo.txt b/todo.txt index 5b0d00e166..d301acdc3a 100644 --- a/todo.txt +++ b/todo.txt @@ -1,8 +1,6 @@ version 0.10 ============ - Repetition renders the ridiculous reasonable. - - document 'converter' - document the tables module better diff --git a/tools/nimweb.nim b/tools/nimweb.nim index 46c1d0d857..6fc946552c 100644 --- a/tools/nimweb.nim +++ b/tools/nimweb.nim @@ -418,14 +418,14 @@ proc main(c: var TConfigData) = quit("[Error] cannot write file: " & outfile) removeFile(temp) copyDir("web/assets", "web/upload/assets") - buildJS("web/upload") + #buildJS("web/upload") buildNewsRss(c, "web/upload") - buildAddDoc(c, "web/upload") - buildDocSamples(c, "web/upload") - buildDoc(c, "web/upload") - buildDocSamples(c, "doc") - buildDoc(c, "doc") - buildPdfDoc(c, "doc") + #buildAddDoc(c, "web/upload") + #buildDocSamples(c, "web/upload") + #buildDoc(c, "web/upload") + #buildDocSamples(c, "doc") + #buildDoc(c, "doc") + #buildPdfDoc(c, "doc") var c: TConfigData initConfigData(c) diff --git a/tools/website.tmpl b/tools/website.tmpl index f3cacdb64e..b4dd2631c6 100644 --- a/tools/website.tmpl +++ b/tools/website.tmpl @@ -1,27 +1,24 @@ #! stdtmpl | standard #proc generateHTMLPage(c: var TConfigData, currentTab, content, rss: string): string = # result = "" - + + + + $c.projectTitle + - - $c.projectTitle - - + #if len(rss) > 0: - - #end fi - - - -
- - - - -
+ + #end if + + +
+ - -
+# if currentTab == "index": +
+# else: +
+# end +
+
- - - -
- #if c.quotations.hasKey(currentTab): -
-

- ${c.quotations[currentTab].quote} -
- -- ${c.quotations[currentTab].author} -

-
- #end if - - $content -
-
- - -
+

Latest News

+ + +
+ + +
+
+
+
+
+ $content +
+
+
+ + + + diff --git a/web/assets/images/bg.jpg b/web/assets/images/bg.jpg new file mode 100644 index 0000000000..4e33a79ce1 Binary files /dev/null and b/web/assets/images/bg.jpg differ diff --git a/web/assets/images/foot.png b/web/assets/images/foot.png new file mode 100644 index 0000000000..dc2561cf35 Binary files /dev/null and b/web/assets/images/foot.png differ diff --git a/web/assets/images/glow-arrow.png b/web/assets/images/glow-arrow.png new file mode 100644 index 0000000000..436d32f038 Binary files /dev/null and b/web/assets/images/glow-arrow.png differ diff --git a/web/assets/images/glow-line.png b/web/assets/images/glow-line.png new file mode 100644 index 0000000000..6607bdee90 Binary files /dev/null and b/web/assets/images/glow-line.png differ diff --git a/web/assets/images/head-link.png b/web/assets/images/head-link.png new file mode 100644 index 0000000000..d97cba5b81 Binary files /dev/null and b/web/assets/images/head-link.png differ diff --git a/web/assets/images/head-link_hover.png b/web/assets/images/head-link_hover.png new file mode 100644 index 0000000000..27edf3b05d Binary files /dev/null and b/web/assets/images/head-link_hover.png differ diff --git a/web/assets/images/head.png b/web/assets/images/head.png new file mode 100644 index 0000000000..009f86728e Binary files /dev/null and b/web/assets/images/head.png differ diff --git a/web/assets/images/logo.png b/web/assets/images/logo.png index 31ee0a6e11..85d3d2e516 100644 Binary files a/web/assets/images/logo.png and b/web/assets/images/logo.png differ diff --git a/web/assets/images/mascot.png b/web/assets/images/mascot.png new file mode 100644 index 0000000000..9beb62c017 Binary files /dev/null and b/web/assets/images/mascot.png differ diff --git a/web/assets/images/more-links_editors.png b/web/assets/images/more-links_editors.png new file mode 100644 index 0000000000..f5970ff1f6 Binary files /dev/null and b/web/assets/images/more-links_editors.png differ diff --git a/web/assets/images/more-links_forum.png b/web/assets/images/more-links_forum.png new file mode 100644 index 0000000000..f332777772 Binary files /dev/null and b/web/assets/images/more-links_forum.png differ diff --git a/web/assets/images/more-links_github.png b/web/assets/images/more-links_github.png new file mode 100644 index 0000000000..4a6a844f42 Binary files /dev/null and b/web/assets/images/more-links_github.png differ diff --git a/web/assets/images/more-links_nimbuild.png b/web/assets/images/more-links_nimbuild.png new file mode 100644 index 0000000000..473fbe4cdd Binary files /dev/null and b/web/assets/images/more-links_nimbuild.png differ diff --git a/web/assets/images/quotes.png b/web/assets/images/quotes.png new file mode 100644 index 0000000000..0d75b4cc20 Binary files /dev/null and b/web/assets/images/quotes.png differ diff --git a/web/assets/images/sidebar.png b/web/assets/images/sidebar.png index 77624480ec..142db93cf8 100644 Binary files a/web/assets/images/sidebar.png and b/web/assets/images/sidebar.png differ diff --git a/web/assets/images/slideshow-nav.png b/web/assets/images/slideshow-nav.png new file mode 100644 index 0000000000..fbfff3e5df Binary files /dev/null and b/web/assets/images/slideshow-nav.png differ diff --git a/web/assets/images/slideshow-nav_active.png b/web/assets/images/slideshow-nav_active.png new file mode 100644 index 0000000000..525caf3558 Binary files /dev/null and b/web/assets/images/slideshow-nav_active.png differ diff --git a/web/assets/images/tabEnd.png b/web/assets/images/tabEnd.png new file mode 100644 index 0000000000..a94af90f1e Binary files /dev/null and b/web/assets/images/tabEnd.png differ diff --git a/web/assets/style.css b/web/assets/style.css index 91bb4bd8ae..60768f9e25 100644 --- a/web/assets/style.css +++ b/web/assets/style.css @@ -1,210 +1,566 @@ -* { cursor:default; } -a, a * { cursor:pointer; text-decoration:none; } -html, body { - margin:0; - padding:0; - width:100%; - height:100%; - background:#121220; - font:14px arial; - letter-spacing:1px; - line-height:22px; +* { cursor:default; } +a, a * { cursor:pointer; } + +html { margin:0; overflow-x:auto; } +body { + overflow-x:hidden; + min-width:1030px; + margin:0; + font:13pt "arial"; + background:#152534 url("images/bg.jpg") no-repeat fixed center top; } + +pre { color:#5997AF;} +pre, pre * { cursor:text; } +pre .cmt { color:#6D6D6D; font-style:italic; } +pre .kwd { color:#43A8CF; font-weight:bold; } +pre .typ { color:#128B7D; font-weight:bold; } +pre .atr { color:#128B7D; font-weight:bold; font-style:italic; } +pre .def { color:#CAD6E4; font-weight:bold; font-style:italic; } +pre .prg { color:#854D6A; font-weight:bold; font-style:italic; } +pre .val { color:#8AB647; font-style:italic; } +pre .tab { border-left:1px dotted rgba(67,168,207,0.4); } +pre .end { background:url("images/tabEnd.png") no-repeat left bottom; } + +.tall { height:100%; } +.pre { padding:0 5px; font:11pt monospace; background:rgba(255,255,255,.15); border-radius:3px; } + +.page-layout { margin:0 auto; width:1000px; } +.docs-layout { margin:0 40px; } +.talk-layout { margin:0 40px; } +.wide-layout { margin:0 auto; } + +#head { height:100px; background:url("images/head.png") repeat-x bottom; } +#head.docs { margin-left:280px; background:rgba(0,0,0,.25) url("images/head-fade.png") no-repeat right top; } +#head > div { position:relative } + + #head-logo { + position:absolute; + left:-390px; + top:0; + width:917px; + height:268px; + pointer-events:none; + background:url("images/logo.png") no-repeat; } + #head.docs #head-logo { left:-381px; position:fixed; } + #head.forum #head-logo { left:-370px; } + + #head-logo-link { + position:absolute; + display:block; + top:10px; + left:10px; + width:236px; + height:85px; } + #head.docs #head-logo-link { left:-260px; } + #head.forum #head-logo-link { left:30px; } + + #head-links { position:absolute; right:0; bottom:13px; } + #head.docs #head-links, + #head.forum #head-links { right:20px; } + #head-links > a { + display:block; + float:left; + padding:10px 25px 25px 25px; + color:rgba(255,255,255,.5); + font-size:14pt; + text-decoration:none; + letter-spacing:1px; + background:url("images/head-link.png") no-repeat center bottom; + transition: + color 0.3s ease-in-out, + text-shadow 0.4s ease-in-out; } + #head-links > a:hover, + #head-links > a.active { + color:#1cb3ec; + text-shadow:0 0 4px rgba(28,179,236,.8); + background-image:url("images/head-link_hover.png"); } + + #head-banner { width:200px; height:100px; background:#000; } + +#neck { z-index:0; height:40px; } +#neck.home { height:370px; } +#neck > div { position:relative } + + #glow-arrow { + position:absolute; + top:-9px; + left:0; + right:-16px; + height:48px; + background:url("images/glow-arrow.png") no-repeat right; } + glow-arrow.docs { left:280px; } + + #glow-line-vert { + position:fixed; + top:100px; + left:280px; + width:3px; + height:844px; + background:url("images/glow-line-vert.png") no-repeat; } + + #slideshow { position:absolute; top:10px; left:10px; width:700px; } + #slideshow > div { visibility:hidden; opacity:0; position:absolute; transition:visibility 0s linear 1s, opacity 1s ease-in-out; } + #slideshow > div.active { visibility:visible; opacity:1; transition-delay:0s; } + #slideshow > div.init { transition-delay:0s; } + #slideshow-nav { z-index:3; position:absolute; top:110px;; right:-12px; } + #slideshow-nav > div { margin:5px 0; width:23px; height:23px; background:url("images/slideshow-nav.png") no-repeat; } + #slideshow-nav > div:hover { background-image:url("images/slideshow-nav_active.png"); opacity:0.5; } + #slideshow-nav > div.active { background-image:url("images/slideshow-nav_active.png"); opacity:1; } + + #slide0 { margin:30px 0 0 10px; } + #slide0 > div { float:left; width:320px; font:10pt monospace; } + #slide0 > div:first-child { margin:0 40px 0 0; } + #slide0 > div > h2 { margin:0 0 5px 0; color:rgba(162,198,223,.78); } + #slide0 > div > pre { + margin:0; + padding:15px 10px; + line-height:14pt; + background:rgba(0,0,0,.4); + border-left:8px solid rgba(0,0,0,.3); + box-shadow:1px 2px 16px rgba(28,180,236,.4); } + + #slide1 { margin-top:50px; } + #slide1 > p { + padding:40px 20px 0 20px; + font-style:italic; + color:rgba(162,198,223,.78); + letter-spacing:1px; + line-height:25pt; + background:url("images/quotes.png") top left no-repeat; } + #slide1 > div { + float:right; + margin-right:40px; + font-style:italic; + font-weight:bold; + color:rgba(93,155,199,.44); } + + #sidebar { + z-index:2; + position:absolute; + top:5px; right:0; + width:275px; + height:726px; + padding:210px 0 0 0; + background:url("images/sidebar.png") no-repeat; } + #sidebar > h3 { margin:0 30px 0 30px; color:rgba(255,255,255,.5); } + #sidebar > h3.blue { color:rgba(28,180,236,.5); } + #sidebar-links, + #sidebar-news { + margin:10px 30px 50px 30px; + padding:10px 0; + background:rgba(0,0,0,.6); } + #sidebar-links { box-shadow:1px 2px 12px rgba(255,255,255,.4); } + #sidebar-news { box-shadow:1px 2px 12px rgba(28,180,236,.6); } + #sidebar-links > a { + display:block; + margin-left:15px; + padding:12px 20px 12px 45px; + font-weight:bold; + text-decoration:none; + letter-spacing:1px; + color:rgba(255,255,255,.4); + transition: + color 0.1s ease-in-out, + text-shadow 0.2s ease-in-out; } + #sidebar-news > a { transition: color 0.3s ease-in-out; } + #sidebar-news > a > h4 { transition: color 0.1s ease-in-out, text-shadow 0.2s ease-in-out; } + #sidebar-links > a:hover { color:#fff; text-shadow:0 0 6px #fff; } + #sidebar-news > a { display:block; padding:15px; color:rgba(255,255,255,.4); text-decoration:none; } + #sidebar-news > a > h4 { margin:0 0 5px 0; color:rgba(28,180,236,.5); } + #sidebar-news > a:hover > h4 { margin:0 0 5px 0; color:rgba(28,180,236,.8); text-shadow:0 0 6px rgba(28,180,236,.6); } + #sidebar-news > a:hover { color:rgba(255,255,255,1); } + #sidebar-news > a.blue { color:rgba(28,180,236,.5); font-weight:bold; } + #sidebar-news > a.blue:hover { color:#fff; } + + #link_forum { background:url("images/more-links_forum.png") no-repeat left center; } + #link_github { background:url("images/more-links_github.png") no-repeat left center; } + #link_editors { background:url("images/more-links_editors.png") no-repeat left center; } + #link_aporia { background:url("images/more-links_editors.png") no-repeat left center; } + #link_nimbuild { background:url("images/more-links_nimbuild.png") no-repeat left center; } + + #overview-bg { + position:fixed; + top:0; + bottom:0; + left:0; + width:280px; + background:rgba(0,0,0,0.25); } + #overview { + z-index:3; + position:fixed; + overflow:auto; + top:115px; + bottom:20px; + left:20px; + width:245px; } + #overview::-webkit-scrollbar { width:5px; } + #overview::-webkit-scrollbar-track { border-radius:2px; background:rgba(255,255,255,.03); } + #overview::-webkit-scrollbar-thumb { border-radius:2px; background:rgba(28,179,236,.5); } + #overview > div { overflow:auto; margin-bottom:40px; } + #overview a { + display:block; + padding:0 10px; + margin:2px 5px 2px 0; + color:rgba(255,255,255,.6); + background:rgba(255,255,255,0.03); + border-radius:2px; + letter-spacing:1px; + text-decoration:none; } + #overview a:hover { color:#fff; background:rgba(255,255,255,0.05); } + #overview > .types a { border-left:2px solid rgba(28,179,236,.4); } + #overview > .procs a { border-left:2px solid rgba(255,223,53,.4); } + #overview > .iters a { border-left:2px solid rgba(255,134,53,.4); } + #overview > div > h4 { + margin:0 5px 10px 0; + padding:5px 10px; + letter-spacing:1px; + color:#fff; + border-left:2px solid #fff; + border-radius:2px; + background:rgba(255,255,255,0.1); } + #overview > .types h4 { color:#1cb3ec; border-color:#1cb3ec; } + #overview > .procs h4 { color:#ffdf35; border-color:#ffdf35; } + #overview > .iters h4 { color:#ff8635; border-color:#ff8635; } + #overview h5 { + color:rgba(28,179,236,.6); + margin:10px 0 5px 0; + padding:5px 5px; + letter-spacing:1px; } + +#body { z-index:1; position:relative; background:rgba(220,231,248,.6); } +#body.docs { margin:0 40px 20px 320px; } +#body.forum { margin:0 40px 20px 40px; } + + #body-border { + position:absolute; + top:-25px; + left:0; + right:0; + height:35px; + background:rgba(0,0,0,.25); } + + #body-border-left { + position:absolute; + left:-25px; + top:-25px; + bottom:-25px; + width:35px; + background:rgba(0,0,0,.25); } + + #body-border-right { + position:absolute; + right:-25px; + top:-25px; + bottom:-25px; + width:35px; + background:rgba(0,0,0,.25); } + + #body-border-bottom { + position:absolute; + left:10px; + right:10px; + bottom:-25px; + height:35px; + background:rgba(0,0,0,.25); } + + #body.docs #body-border, + #body.forum #body-border { left:10px; right:10px; } + + #glow-line { + position:absolute; + top:-27px; + left:100px; + right:-25px; + height:3px; + background:url("images/glow-line.png") no-repeat left; } + #glow-line-bottom { + position:absolute; + bottom:-27px; + left:-25px; + right:100px; + height:3px; + background:url("images/glow-line2.png") no-repeat right; } + + #content { padding:40px 0; line-height:150%; } + #content.page { width:680px; min-height:800px; padding-left:20px; } + #content h1 { font-size:20pt; letter-spacing:1px; color:rgba(0,0,0,.75); } + #content h2 { font-size:16pt; letter-spacing:1px; color:rgba(0,0,0,.7); margin-top:40px; } + #content p { text-align:justify; color:rgba(0,0,0,.8); } + #content a { color:#CEDAE9; text-decoration:none; } + #content a:hover { color:#fff; } + #content ul { padding-left:20px; } + #content li { margin-bottom:10px; text-align:justify; } + + #body.docs #content > div { margin-top:40px; padding-top:40px; border-top:1px dashed rgba(0,0,0,.25); } + #body.docs #content > div:first-child { margin-top:0; padding-top:0; border:none; } + #body.docs #content > div > h3 { + color:#fff; + margin:0 0 10px 0; + padding:10px 20px; + letter-spacing:1px; + border-left:8px solid #fff; + border-radius:3px; + background:rgba(0,0,0,.7); + box-shadow:1px 3px 12px rgba(0,0,0,.4); } + #body.docs #content > #types-wrap > h3 { color:#1cb3ec; border-color:#1cb3ec; } + #body.docs #content > #procs-wrap > h3 { color:#ffdf35; border-color:#ffdf35; } + #body.docs #content > #iters-wrap > h3 { color:#ff8635; border-color:#ff8635; } + #body.docs #content > div > div > div { + overflow:auto; + margin:10px 0; + border-left:8px solid #fff; + border-radius:3px; + background:rgba(0,0,0,.1); } + #body.docs #content > #types-wrap > div > div { border-color:rgba(28,179,236,.5); } + #body.docs #content > #procs-wrap > div > div { border-color:rgba(255,223,53,.5); } + #body.docs #content > #iters-wrap > div > div { border-color:rgba(255,134,53,.5); } + #body.docs #content > #procs-wrap > div > div.overload-head { margin-bottom:0; } + #body.docs #content > #procs-wrap > div > div.overload-tail { margin-top:0; border-top:1px dashed rgba(255,223,53,.5); } + #body.docs #content > #procs-wrap > div > div.overload { margin-top:0; margin-bottom:0; border-top:1px dashed rgba(255,223,53,.5); } + #body.docs #content > #iters-wrap > div > div.overload-head { margin-bottom:0; } + #body.docs #content > #iters-wrap > div > div.overload-tail { margin-top:0; border-top:1px dashed rgba(255,134,53,.5); } + #body.docs #content > #iters-wrap > div > div.overload { margin-top:0; margin-bottom:0; border-top:1px dashed rgba(255,134,53,.5); } + #body.docs #content > div > div > p { margin:20px 10px 10px 10px; } + + #body.docs #content > div > div > div > div { float:left; } + #body.docs #content > div > div > div > div.head { width:60%; } + #body.docs #content > div > div > div > div.data { width:40%; } + + #body.docs #content > h1 > .symbol { + padding:0 8px; + border-radius:5px; + background:rgba(206,218,233,.4); } + + #body.docs #content > div > div > div > div.head > .sign { + margin:0 10px 5px 10px; + padding:10px 10px 0 10px; + font-weight:bold; + border-bottom:1px dashed rgba(0,0,0,.25); } + #body.docs #content > div > div > div > div.head > .desc { + padding:0 20px 10px 20px; + color:rgba(0,0,0,.75); } + #body.docs #content > div > #types > div > div.head > .sign > .symbol { + padding:0 5px; + border-radius:3px; + background:rgba(28,179,236,.4); } + #body.docs #content > div > #procs > div > div.head > .sign > .symbol { + padding:0 5px; + border-radius:3px; + background:rgba(255,223,53,.3); } + #body.docs #content > div > #iters > div > div.head > .sign > .symbol { + padding:0 5px; + border-radius:3px; + background:rgba(255,134,53,.3); } + + #body.docs #content > div > div > div > div.data > div { + margin:0 20px 5px 10px; + padding:10px 0 0 10px; + font-style:italic; + color:rgba(0,0,0,.6); + border-bottom:1px dashed rgba(0,0,0,.25); } + #body.docs #content > div > div > div > div.data > ul { margin:0; padding:0 10px; } + #body.docs #content > div > div > div > div.data > ul:last-child { margin-bottom:5px; padding-bottom:10px; } + #body.docs #content > div > div > div > div.data > ul .symbol { padding:0 5px; border-radius:3px; background:rgba(23,192,23,.25); } + #body.docs #content > div > div > div > div.data > ul.pragmas .symbol { background:rgba(106,50,145,.25); } + #body.docs #content > div > div > div > div.data > ul > li { margin:0; padding:0 10px; list-style:none; } + + #body.docs #content pre { + overflow:auto; + margin:10px 0; + padding:15px 10px; + font-size:10pt; + font-style:normal; + line-height:14pt; + background:rgba(0,0,0,.75); + border-left:8px solid rgba(0,0,0,.3); } + + #docs-sort { float:right; font-size:75%; } + #docs-sort > a { + cursor:default; + margin:0 0 0 10px; + padding:2px 10px; + border-radius:5px; + color:rgba(0,0,0,.25); + background:rgba(0,0,0,.1); + box-shadow:inset 0 1px 8px rgba(0,0,0,.4); } + #docs-sort > a:hover, + #docs-sort > a.active { color:#000; background:rgba(0,0,0,.2); } + + #talk-heads { overflow:auto; margin:0 8px 0 8px; } + #talk-heads > div { float:left; font-size:120%; font-weight:bold; } + #talk-heads > .topic { width:55%; } + #talk-heads > .detail { width:15%; } + #talk-heads > .author { width:15%; } + #talk-heads > .reply { width:15%; } + #talk-heads > div > div { margin:0 10px 10px 10px; padding:0 10px 10px 10px; border-bottom:1px dashed rgba(0,0,0,0.4); } + #talk-heads > .topic > div { margin-left:0; } + #talk-heads > .author > div { margin-right:0; } + + #talk-thread > div, + #talk-threads > div { + position:relative; + margin:5px 0; + overflow:auto; + border-radius:3px; + border:8px solid rgba(0,0,0,.8); + border-top:none; + border-bottom:none; + background:rgba(0,0,0,0.1); } + #talk-thread > div:nth-child(odd) { background:rgba(255,255,255,0.1); } + #talk-threads > div:nth-child(odd) { background:rgba(0,0,0,0.2); } + #talk-thread > div > div, + #talk-threads > div > div { float:left; } + #talk-thread > div > div > div, + #talk-threads > div > div > div { margin:10px 20px; } + #talk-threads > div > .topic { width:55%; } + #talk-threads > div > .reply { width:15%; overflow:hidden; } + #talk-threads > div > .detail { width:15%; overflow:hidden; } + #talk-thread > div > .author, + #talk-threads > div > .author { + position:absolute; + right:0; + top:0; + bottom:0; + width:15%; + overflow:hidden; + background:rgba(0,0,0,0.8); } + #talk-thread > div > .author a, + #talk-threads > div > .author a { color:#1cb3ec !important; } + #talk-thread > div > .author a:hover, + #talk-threads > div > .author a:hover { color:#fff !important; } + #talk-threads > div > .topic .pages { float:right; } + #talk-threads > div > .topic > div > a { font-weight:bold; } + #talk-threads > div > .detail > div { float:left; margin:0; } + #talk-threads > div > .detail > div > div { margin-left:20px; padding:10px 10px 10px 22px; } + #talk-threads > div > .detail > div { width:50%; } + #talk-threads > div > .detail > div:first-child > div { background:url("images/forum-views.png") no-repeat left; } + #talk-threads > div > .detail > div:last-child > div { background:url("images/forum-posts.png") no-repeat left; } + + #talk-thread > div { margin:20px 0; min-height:150px; box-shadow:1px 3px 12px rgba(0,0,0,.4) } + #talk-thread > div > .author > div > .avatar { margin-top:20px; } + #talk-thread > div > .author > div > .avatar > img { box-shadow:0 0 12px #1cb3ec; } + #talk-thread > div > .author > div > .name { } + #talk-thread > div > .topic { width:85%; padding-bottom:10px; } + #talk-thread > div > .topic pre { + overflow:auto; + margin:0; + padding:15px 10px; + font-size:10pt; + font-style:normal; + line-height:14pt; + background:rgba(0,0,0,.75); + border-left:8px solid rgba(0,0,0,.3); } + + #talk-head, + #talk-info { + overflow:auto; + border-radius:3px; + border:8px solid rgba(0,0,0,.2); + border-top:none; + border-bottom:none; + background:rgba(0,0,0,0.1); } + #talk-head { margin-bottom:20px; } + #talk-info { margin-top:20px; } + #talk-head > div, + #talk-info > div { float:left; } + #talk-head > .info, + #talk-info > .info { width:85%; } + #talk-head > .user, + #talk-info > .user { width:15%; background:rgba(0,0,0,.2); } + #talk-info > .user > div > .reply { font-weight:bold; padding-left:22px; background:url("images/forum-reply.png") no-repeat left; } + #talk-head > div > div, + #talk-info > div > div { padding:5px 20px; } + #talk-head > .detail > div { float:left; margin:0; } + #talk-head > .detail > div > div { padding-left:22px; } + #talk-head > .detail > div:first-child > div { background:url("images/forum-views.png") no-repeat left; } + #talk-head > .detail > div:last-child > div { background:url("images/forum-posts.png") no-repeat left; } + + #talk-nav { margin:20px 8px 0 8px; padding-top:10px; border-top:1px dashed rgba(0,0,0,0.4); text-align:center; } + #talk-nav > a.active { text-decoration:underline !important; } + + .standout { + padding:5px 30px; + margin-bottom:20px; + border:8px solid rgba(0,0,0,.8); + border-right-width:16px; + border-top-width:0; + border-bottom-width:0; + border-radius:3px; + background:rgba(0,0,0,0.1); + box-shadow:1px 3px 12px rgba(0,0,0,.4); } + .standout h2 { margin-bottom:10px; padding-bottom:10px; border-bottom:1px dashed rgba(0,0,0,.8); } + .standout li { margin:0 !important; padding-top:10px; border-top:1px dashed rgba(0,0,0,.2); } + .standout ul { padding-bottom:5px; } + .standout ul.tools { list-style:url("images/docs-tools.png"); } + .standout ul.library { list-style:url("images/docs-library.png"); } + .standout ul.internal { list-style:url("images/docs-internal.png"); } + .standout ul.tutorial { list-style:url("images/docs-tutorial.png"); } + .standout ul.example { list-style:url("images/docs-example.png"); } + .standout li:first-child { padding-top:0; border-top:none; } + .standout li p { margin:0 0 10px 0 !important; line-height:130%; } + .standout li > a { font-weight:bold; } + + .forum-user-info, + .forum-user-info * { cursor:help } + +#foot { height:150px; position:relative; top:-10px; letter-spacing:1px; } +#foot.home { background:url("images/foot.png") repeat-x top; height:200px; } +#foot.docs { margin-left:320px; margin-right:40px; } +#foot.forum { margin-left:40px; margin-right:40px; } +#foot > div { position:relative; } +#foot.home > div { width:960px; } +#foot h4 { font-size:11pt; color:rgba(255,255,255,.4); margin:40px 0 6px 0; } +#foot a:hover { color:#fff; } + + #foot-links { float:left; } + #foot-links > div { float:left; padding:0 40px 0 0; line-height:120%; } + #foot-links a { display:block; font-size:10pt; color:rgba(255,255,255,.3); text-decoration:none; } + #foot-legal { float:right; font-size:10pt; color:rgba(255,255,255,.3); line-height:150%; text-align:right; } + #foot-legal a { color:inherit; text-decoration:none; } + #foot-legal > h4 > a { color:inherit; } + + #mascot { + z-index:2; + position:absolute; + top:-340px; + right:25px; + width:202px; + height:319px; + background:url("images/mascot.png") no-repeat; } + + +#body pre { + padding:20px; + border-left:10px solid #8f9698; + background:#f3f6f8; + font-size:15px; + font-family:courier, monospace; + letter-spacing:0; + line-height:17px; + color: #343739; } -#site { z-index:0; position:relative; margin:0 auto; width:960px; } -#site > dive { position:relative; } +#body span.pre { + background-color: #8396A4; /* #E6EDF2; */ + padding: 1pt 3pt; + border-radius: 2pt; + -moz-border-radius: 2pt; + -webkit-border-radius: 2pt; +} - /* site_head */ - #site_head { z-index:0; height:200px; } - - #logo { - z-index:-1; - position:absolute; - top:-35px; - left:-330px; - width:868px; - height:334px; - background:url("images/logo.png") no-repeat; - } - - /* site_neck */ - #site_neck { z-index:1; float:left; width:100%; height:40px; background:url("images/site_neck.png") bottom no-repeat; } - - #site_neck > a { - display:block; - float:left; - margin-top:3px; - margin-right:10px; - padding:4px 20px 0 20px; - height:28px; - color:#959a9b; - background:#394649; - font-size:18px; - } - - #site_neck > a:hover { - margin-top:0; - border-top:3px solid #1cb4ec; - } - - #site_neck > a.active { - margin-top:0; - padding-top:7px; - color:#fff; - background:#1cb4ec; - text-shadow:0 0 4px rgba(255,255,255,0.75); - } - - #site_neck > a.active:hover { - border-top:none; - } - - /* site_body */ - #site_body { z-index:2; float:left; clear:both; width:100%; background:#d1dbe3; } - - #page { position:relative; float:left; padding:20px 30px 50px 50px; width:620px; color:#343739; } - - #page h1 { margin-top:40px; line-height: 28px; } - #page h2 { margin-top:40px; } - - #page p { text-align:justify; } - - #page .quote-image { - z-index:0; - position:absolute; - top:15px; - left:20px; - width:59px; - height:42px; - background:url("images/quote.png") no-repeat; - } - - #page p.quote { - position:relative; - color:#6187a2; - font-style:italic; - letter-spacing:2px; - word-spacing:1px; - } - - #page pre { - padding:20px; - border-left:10px solid #8f9698; - background:#f3f6f8; - font-size:15px; - font-family:courier, monospace; - letter-spacing:0; - line-height:17px; - } - - #page span.pre { - background-color: #E6EDF2; - padding: 1pt 3pt; - border-radius: 2pt; - -moz-border-radius: 2pt; - -webkit-border-radius: 2pt; - } - - #page pre > .Comment { color:#858686; font-style:italic; } - #page pre > .Keyword { color:#1cb4ec; font-weight:bold; } - #page pre > .Operator { color:#777; } - #page pre > .StringLit, #page pre > .DecNumber { color:#ff7302; } - - #page li { margin-top:10px; } - - #page a:hover { text-decoration: underline; } - - #page table.docutils { - background: none repeat scroll 0 0 #F3F6F8; - border-collapse: collapse; - font-size: 8pt; - text-align: left; - width: 480px; - border-spacing: 0; - } - - #page .docutils th { - border-bottom: 2px solid #1a1a1a; - font-size: 14px; - font-weight: normal; - padding: 8px 8px; - } - - #page .docutils td { - padding: 3px 8px; - color: #4d4d4d; - } - - #sidebar_wrap { float:right; width:260px; } - #sidebar { - z-index:0; - position:relative; - left:20px; - padding:0 10px 60px 10px; - width:200px; - background:#394649 url("images/sidebar.png") bottom no-repeat; - } - - #sidebar_head { - z-index:-1; - position:absolute; - top:-220px; - left:-30px; - width:282px; - height:400px; - background:url("images/sidebar_head.png") top no-repeat; - } - - #sidebar > h2 { - position:relative; - left:-40px; - margin:20px 0 0 0; - padding:19px 0 0 48px; - width:204px; - height:47px; - color:#fff; - background:url("images/sidebar_h2.png") no-repeat; - text-shadow:0 0 4px rgba(255,255,255,0.75); - letter-spacing:2px; - } - - #sidebar > .news { display:block; margin-bottom:20px; padding:0 10px; } - #sidebar > .news > h3 { margin:0; color:#cdd1d1; font-size:18px; letter-spacing:2px; } - #sidebar > .news > p { margin:0; color:#99a0a1; } - #sidebar > .news:hover > h3 { color:#fff; text-shadow:0 0 4px rgba(255,255,255,0.75); } - #sidebar > .news:hover > p { color:#eee; text-shadow:0 0 4px rgba(255,255,255,0.5); } - - #sidebar > .link { - display:block; - margin:0; - padding:15px 20px 0 20px; - height:41px; - color:#cdd1d1; - font-size:18px; - font-weight:bold; - } - - #sidebar > .link:hover { - color:#fff; - text-shadow:0 0 4px rgba(255,255,255,0.75); - } - - #link_forum { background:url("images/link_forum.png") top right no-repeat; } - #link_aporia { background:url("images/link_aporia.png") top right no-repeat; } - #link_nimbuild { background:url("images/link_nimbuild.png") top right no-repeat; } - - /* site_foot */ - #site_foot { z-index:3; clear:both; padding-top:40px; height:150px; background:url("images/site_foot.png") top no-repeat; } - - #legal { - float:right; - margin-top:10px; - color:#88888f; - font-size:12px; - letter-spacing:1px; - } - - #legal > a { color:#88888f; } - #legal > a:visited { color:#88888f; } - #legal > a:hover { color:#fff; } +#body pre > .Comment { color:#858686; font-style:italic; } +#body pre > .Keyword { color:#1cb4ec; font-weight:bold; } +#body pre > .Operator { color:#777; } +#body pre > .StringLit, #page pre > .DecNumber { color:#ff7302; } + +#body .docutils th { + border-bottom: 2px solid #1A1A1A; + font-weight: normal; + padding: 8px; +} +#body table.docutils { + border-collapse: collapse; + text-align: left; + border-spacing: 0px; +} diff --git a/web/community.txt b/web/community.txt index bac5e0ada8..c5b025067f 100644 --- a/web/community.txt +++ b/web/community.txt @@ -1,97 +1,114 @@ -Forum -===== +Nim's Community +=============== -The `Nim forum `_ is the place where most -discussions related to the language happen. It not only includes discussions -relating to the design of Nim but also allows for beginners to ask questions -relating to Nim. +.. container:: standout -IRC -==== + Forum + ----- -Many Nim developers are a part of the -`#nim IRC channel `_ on -Freenode. That is the place where the rest of the discussion relating to Nim -occurs. Be sure to join us there if you wish to discuss Nim in real-time. -IRC is the perfect place for people just starting to learn Nim and we -welcome any questions that you may have! + The `Nim forum `_ is the place where most + discussions related to the language happen. It not only includes discussions + relating to the design of Nim but also allows for beginners to ask questions + relating to Nim. -You may also be interested in reading the -`IRC logs `_ which are an archive of all -of the previous discussions that took place in the IRC channel. -Github -====== +.. container:: standout -Nim's `source code `_ is hosted on Github. -Together with the `wiki `_ and -`issue tracker `_. + IRC + ---- -Github also hosts other projects relating to Nim. These projects are a part -of the `nim-lang organisation `_. -This includes the `Babel package manager `_ -and its `package repository `_. + Many Nim developers are a part of the + `#nim IRC channel `_ on + Freenode. That is the place where the rest of the discussion relating to Nim + occurs. Be sure to join us there if you wish to discuss Nim in real-time. + IRC is the perfect place for people just starting to learn Nim and we + welcome any questions that you may have! -Twitter -======= + You may also be interested in reading the + `IRC logs `_ which are an archive of all + of the previous discussions that took place in the IRC channel. -Follow us `@nimlang `_ for latest news about -Nim. -Reddit -====== +.. container:: standout -Subscribe to `/r/nim `_ for latest news about -Nim. + Github + ------ -StackOverflow -============= + Nim's `source code `_ is hosted on Github. + Together with the `wiki `_ and + `issue tracker `_. -When asking a question relating to Nim, be sure to use the -`Nim `_ tag in your -question. + Github also hosts other projects relating to Nim. These projects are a part + of the `nim-lang organisation `_. + This includes the `Babel package manager `_ + and its `package repository `_. -How to help -=========== -There are always many things to be done in the main -`Nim repository `_, check out the -`issues `_ for -things to do; pull requests are always welcome. You can -also contribute to the many other projects hosted by the -`nim-lang `_ organisation on github. If you -can't find anything you fancy doing, you can always ask for inspiration on IRC -(irc.freenode.net #nim) or on the `Nim forums `_. +.. container:: standout -Donations ---------- + Twitter + ------- -If you love what we do and are feeling generous then you can always donate. -Contributions of any quantity are greatly appreciated and will contribute to -making Nim even better! + Follow us `@nimlang `_ for latest news about + Nim. -Gittip -`````` +.. container:: standout - .. raw:: html + Reddit + ------ - + Subscribe to `/r/nim `_ for latest news about + Nim. -Paypal -`````` +.. container:: standout - .. raw:: html + StackOverflow + ------------- -
- - - - -
+ When asking a question relating to Nim, be sure to use the + `Nim `_ tag in your + question. -Bitcoin -``````` +.. container:: standout - Bitcoin address: 1BXfuKM2uvoD6mbx4g5xM3eQhLzkCK77tJ + How to help + ----------- + + There are always many things to be done in the main + `Nim repository `_, check out the + `issues `_ for + things to do; pull requests are always welcome. You can + also contribute to the many other projects hosted by the + `nim-lang `_ organisation on github. If you + can't find anything you fancy doing, you can always ask for inspiration on IRC + (irc.freenode.net #nim) or on the `Nim forums `_. + + +.. container:: standout + + Donations + --------- + + If you love what we do and are feeling generous then you can always donate. + Contributions of any quantity are greatly appreciated and will contribute to + making Nim even better! + + Gittip + .. raw:: html + + + + Paypal + .. raw:: html + +
+ + + + +
+ + Bitcoin + Bitcoin address: 1BXfuKM2uvoD6mbx4g5xM3eQhLzkCK77tJ diff --git a/web/documentation.txt b/web/documentation.txt index da0313c320..0bb2b8a0fb 100644 --- a/web/documentation.txt +++ b/web/documentation.txt @@ -1 +1,51 @@ -.. include:: ../doc/docs.txt +Nim's Documentation +=================== + +.. container:: standout + + Standards & Guides + ------------------ + + + - | `Standard Library `_ + | This document describes Nim's standard library. + + - | `Language Manual `_ + | The Nim manual is a draft that will evolve into a proper specification. + + - | `Compiler user guide `_ + | The user guide lists command line arguments, special features of the + compiler, etc. + + +.. container:: standout + + Tools & Features + ---------------- + + - | `Source code filters `_ + | The Nim compiler supports source code filters as a simple yet powerful + builtin templating system. + + - | `Tools documentation `_ + | Description of some tools that come with the standard distribution. + + +.. container:: standout + + Internal Details + ---------------- + + - | `Garbage Collector `_ + | Additional documentation about Nim's GC and how to operate it in a + | realtime setting. + + - | `Internal documentation `_ + | The internal documentation describes how the compiler is implemented. Read + this if you want to hack the compiler. + + +Search Options +-------------- + +`Documentation Index `_ - The generated index. **Index + (Ctrl+F) == Joy** diff --git a/web/index.txt b/web/index.txt index e48c54f171..3317ba940d 100644 --- a/web/index.txt +++ b/web/index.txt @@ -18,22 +18,6 @@ shared memory heap is also provided for the increased efficiency that results from that model. -Nim looks like this: -==================== - -.. code-block:: nim - # compute average line length - var count = 0 - var sum = 0 - - for line in stdin.lines: - count += 1 - sum += line.len - - echo "Average line length: ", - if count > 0: sum / count else: 0 - - Nim is efficient ================ diff --git a/web/learn.txt b/web/learn.txt new file mode 100644 index 0000000000..1b0984cdaa --- /dev/null +++ b/web/learn.txt @@ -0,0 +1,44 @@ +Nim's Learning Resources +======================== + +.. container:: standout + + Tutorials + --------- + + - | `Tutorial (part I) `_ + | Learn the basics of Nim's types, variables, procedures, control flow, etc... + + - | `Tutorial (part II) `_ + | Learn Nim's more advanced features such as OOP, generics, macros, etc... + + +.. container:: standout + + Examples + -------- + + - | `Nim by Example `_ + | Nim by Example is an excellent starting place for beginners. + + - | `Nim on Rosetta Code `_ + | Many different Nim code examples comparible to other langues for reference. + + - | `Nim for C/C++ Programmers `_ + | A useful cheat-sheet for those most familiar with C/C++ languages. + + +.. container:: standout + + Articles + -------- + + - `Dr Dobbs Nimrod Publication `_ + - `Bootstrapping Nim `_ + + +Documentation +------------- + +More examples of Nim code can be found in the `Nim Language Documenation `_. + diff --git a/web/news.txt b/web/news.txt index 76541560cf..d345526c41 100644 --- a/web/news.txt +++ b/web/news.txt @@ -78,8 +78,20 @@ News exceptions (overflow, division by zero, etc.). -2014-10-19 Nimrod version 0.9.6 released -======================================== +2014-12-09 New website design! +============================== + +A brand new website including an improved forum is now live. +All thanks go to Philip Witte and +Dominik Picheta, Philip Witte for the design of the website (together with +the logo) as well as the HTML and CSS code for his template, and Dominik Picheta +for integrating Philip's design with Nim's forum. We're sure you will +agree that Philip's design is beautiful. + + + +2014-10-19 Version 0.9.6 released +================================= **Note: 0.9.6 is the last release of Nimrod. The language is being renamed to Nim. Nim slightly breaks compatibility.** diff --git a/web/nim.ini b/web/nim.ini index 6624910d11..83705e8cec 100644 --- a/web/nim.ini +++ b/web/nim.ini @@ -9,13 +9,15 @@ Authors: "Andreas Rumpf and contributors" # Everything after ; is the ID User_Forum: "http://forum.nim-lang.org;link_forum" Aporia_IDE: "https://github.com/nimrod-code/Aporia;link_aporia" -Nimbuild: "http://build.nim-lang.org;link_nimbuild" +Github_Repo: "http://github.com/Araq/Nimrod;link_github" + [Tabs] # Menu entry: filename home: index news: news docs: documentation +learn: learn download: download community: community FAQ: question @@ -34,7 +36,7 @@ documentation: """Incorrect documentation is often worse than no documentation. - Bertrand Meyer""" download: """There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. - Jeremy S. Anderson.""" - +learn: """Repetition renders the ridiculous reasonable. - Norman Wildberger""" [Documentation] doc: "endb;intern;apis;lib;manual.txt;tut1;tut2;nimc;overview;filters" diff --git a/web/question.txt b/web/question.txt index 52809ff90a..23d3b9b670 100644 --- a/web/question.txt +++ b/web/question.txt @@ -6,136 +6,160 @@ General ======= -What is Nim? ------------- +.. container:: standout -Nim (formerly known as "Nimrod") is a statically typed, imperative programming -language that tries to give the programmer ultimate power without compromises -on runtime efficiency. -This means it focuses on compile-time mechanisms in all their -various forms. Beneath a nice infix/indentation based syntax with a -powerful (AST based, hygienic) macro system lies a semantic model that supports -a soft realtime GC on thread local heaps. Asynchronous message passing is used -between threads, so no "stop the world" mechanism is necessary. An unsafe -shared memory heap is also provided for the increased efficiency that results -from that model. + What is Nim? + ------------ + + Nim (formerly known as "Nimrod") is a statically typed, imperative programming + language that tries to give the programmer ultimate power without compromises + on runtime efficiency. + This means it focuses on compile-time mechanisms in all their + various forms. Beneath a nice infix/indentation based syntax with a + powerful (AST based, hygienic) macro system lies a semantic model that supports + a soft realtime GC on thread local heaps. Asynchronous message passing is used + between threads, so no "stop the world" mechanism is necessary. An unsafe + shared memory heap is also provided for the increased efficiency that results + from that model. -Why yet another programming language? -------------------------------------- +.. container:: standout -Nim is one of the very few *programmable* statically typed languages, and -one of the even fewer that produces native binaries that require no -runtime or interpreter. + Why yet another programming language? + ------------------------------------- + + Nim is one of the very few *programmable* statically typed languages, and + one of the even fewer that produces native binaries that require no + runtime or interpreter. -What have been the major influences in the language's design? -------------------------------------------------------------- +.. container:: standout -The language borrows heavily from (in order of impact): Modula 3, Delphi, Ada, -C++, Python, Lisp, Oberon. + What have been the major influences in the language's design? + ------------------------------------------------------------- + + The language borrows heavily from (in order of impact): Modula 3, Delphi, Ada, + C++, Python, Lisp, Oberon. +.. container:: standout -What is Nim's take on concurrency? ----------------------------------- + What is Nim's take on concurrency? + ---------------------------------- -Nim primarily focusses on thread local (and garbage collected) heaps and -message passing between threads. Each thread has its own GC, so no -"stop the world" mechanism is necessary. An unsafe shared memory heap is also -provided. + Nim primarily focusses on thread local (and garbage collected) heaps and + message passing between threads. Each thread has its own GC, so no + "stop the world" mechanism is necessary. An unsafe shared memory heap is also + provided. -Future versions will additionally include a GC "per thread group" -and Nim's type system will be enhanced to accurately model this shared -memory heap. + Future versions will additionally include a GC "per thread group" + and Nim's type system will be enhanced to accurately model this shared + memory heap. -How is Nim licensed? --------------------- +.. container:: standout -The Nim compiler and the library are MIT licensed. -This means that you can use any license for your own programs developed with -Nim. + How is Nim licensed? + -------------------- + + The Nim compiler and the library are MIT licensed. + This means that you can use any license for your own programs developed with + Nim. -How stable is Nim? ------------------- +.. container:: standout -The compiler is in development and some important features are still missing. -However, the compiler is quite stable already: It is able to compile itself -and a substantial body of other code. Until version 1.0.0 is released, -minor incompatibilities with older versions of the compiler will be introduced. + How stable is Nim? + ------------------ + + The compiler is in development and some important features are still missing. + However, the compiler is quite stable already: It is able to compile itself + and a substantial body of other code. Until version 1.0.0 is released, + minor incompatibilities with older versions of the compiler will be introduced. -How fast is Nim? ----------------- -Benchmarks show it to be comparable to C. Some language features (methods, -closures, message passing) are not yet as optimized as they could and will be. -The only overhead Nim has over C is the GC which has been tuned -for years but still needs some work. +.. container:: standout + + How fast is Nim? + ---------------- + Benchmarks show it to be comparable to C. Some language features (methods, + closures, message passing) are not yet as optimized as they could and will be. + The only overhead Nim has over C is the GC which has been tuned + for years but still needs some work. -What about JVM/CLR backends? ----------------------------- +.. container:: standout -A JVM backend is almost impossible. The JVM is not expressive enough. It has -never been designed as a general purpose VM anyway. A CLR backend is possible -but would require much work. + What about JVM/CLR backends? + ---------------------------- -What about editor support? --------------------------- - -- Nim IDE: https://github.com/nimrod-code/Aporia -- Emacs: https://github.com/Tass/nimrod-mode -- Vim: https://github.com/zah/nimrod.vim/ -- Scite: Included -- Gedit: The `Aporia .lang file `_ -- jEdit: https://github.com/exhu/nimrod-misc/tree/master/jedit + A JVM backend is almost impossible. The JVM is not expressive enough. It has + never been designed as a general purpose VM anyway. A CLR backend is possible + but would require much work. -Why is it named ``proc``? -------------------------- +.. container:: standout -*Procedure* used to be the common term as opposed to a *function* which is a -mathematical entity that has no side effects. It was planned to have ``func`` -as syntactic sugar for ``proc {.noSideEffect.}`` but with the more fine-grained -effect system it is not yet clear what ``func`` should be a shortcut for. + What about editor support? + -------------------------- + + - Nim IDE: https://github.com/nimrod-code/Aporia + - Emacs: https://github.com/Tass/nimrod-mode + - Vim: https://github.com/zah/nimrod.vim/ + - Scite: Included + - Gedit: The `Aporia .lang file `_ + - jEdit: https://github.com/exhu/nimrod-misc/tree/master/jedit + + +.. container:: standout + + Why is it named ``proc``? + ------------------------- + + *Procedure* used to be the common term as opposed to a *function* which is a + mathematical entity that has no side effects. It was planned to have ``func`` + as syntactic sugar for ``proc {.noSideEffect.}`` but with the more fine-grained + effect system it is not yet clear what ``func`` should be a shortcut for. Compilation =========== -Which option to use for the fastest executable? ------------------------------------------------ +.. container:: standout -For the standard configuration file, ``-d:release`` does the trick. + Which option to use for the fastest executable? + ----------------------------------------------- + For the standard configuration file, ``-d:release`` does the trick. -Which option to use for the smallest executable? ------------------------------------------------- +.. container:: standout -For the standard configuration file, ``-d:quick --opt:size`` does the trick. + Which option to use for the smallest executable? + ------------------------------------------------ + For the standard configuration file, ``-d:quick --opt:size`` does the trick. -How do I use a different C compiler than the default one? ---------------------------------------------------------- +.. container:: standout -Edit the ``config/nimrod.cfg`` file. -Change the value of the ``cc`` variable to one of the following: + How do I use a different C compiler than the default one? + --------------------------------------------------------- -============== ============================================ -Abbreviation C/C++ Compiler -============== ============================================ -``vcc`` Microsoft's Visual C++ -``gcc`` Gnu C -``llvm_gcc`` LLVM-GCC compiler -``icc`` Intel C++ compiler -``clang`` Clang compiler -``ucc`` Generic UNIX C compiler -============== ============================================ + Edit the ``config/nimrod.cfg`` file. + Change the value of the ``cc`` variable to one of the following: -Other C compilers are not officially supported, but might work too. + ============== ============================================ + Abbreviation C/C++ Compiler + ============== ============================================ + ``vcc`` Microsoft's Visual C++ + ``gcc`` Gnu C + ``llvm_gcc`` LLVM-GCC compiler + ``icc`` Intel C++ compiler + ``clang`` Clang compiler + ``ucc`` Generic UNIX C compiler + ============== ============================================ -If your C compiler is not in the above list, try using the -*generic UNIX C compiler* (``ucc``). If the C compiler needs -different command line arguments try the ``--passc`` and ``--passl`` switches. + Other C compilers are not officially supported, but might work too. + + If your C compiler is not in the above list, try using the + *generic UNIX C compiler* (``ucc``). If the C compiler needs + different command line arguments try the ``--passc`` and ``--passl`` switches. diff --git a/web/ticker.txt b/web/ticker.txt index 98ad25905b..a0d2f0a783 100644 --- a/web/ticker.txt +++ b/web/ticker.txt @@ -1,54 +1,21 @@ + +

Dec 9, 2014

+

The new website design and forum are now online!

+
+ -

Oct 19, 2014

+

Oct 19, 2014

Nimrod version 0.9.6 has been released!

- -

Apr 21, 2014

-

Nimrod version 0.9.4 has been released!

-
- -

Feb 11, 2014

+

Feb 11, 2014

Nimrod featured in Dr. Dobb's Journal

-

Jan 15, 2014

+

Jan 15, 2014

Andreas Rumpf's talk on Nimrod at Strange Loop 2013 is now online.

- -

May 20, 2013

-

New website design!

-
- - -

May 20, 2013

-

Nimrod version 0.9.2 has been released!

-
- - -

Sep 23, 2012

-

Nimrod version 0.9.0 has been released!

-
- - -

Feb 9, 2012

-

Nimrod version 0.8.14 has been released!

-
- - -

Jul 10, 2011

-

Nimrod version 0.8.12 has been released!

-
- - -

Oct 20, 2010

-

Nimrod version 0.8.10 has been released!

-
- - -

Mar 14, 2010

-

Nimrod version 0.8.8 has been released!

-
+See All News...