diff options
-rwxr-xr-x | install.sh | 4 | ||||
-rwxr-xr-x | install.txt | 17 | ||||
-rwxr-xr-x | lib/pure/strtabs.nim | 25 | ||||
-rwxr-xr-x | web/news.txt | 2 |
4 files changed, 36 insertions, 12 deletions
diff --git a/install.sh b/install.sh index 4e3fec989..eed9f33e5 100755 --- a/install.sh +++ b/install.sh @@ -140,6 +140,8 @@ if [ $# -eq 1 ] ; then chmod 644 $docdir/tut1.txt cp doc/tut2.txt $docdir/tut2.txt || exit 1 chmod 644 $docdir/tut2.txt + cp doc/manual.html $docdir/manual.html || exit 1 + chmod 644 $docdir/manual.html cp doc/mytest.cfg $docdir/mytest.cfg || exit 1 chmod 644 $docdir/mytest.cfg cp doc/c2nim.pdf $docdir/c2nim.pdf || exit 1 @@ -270,6 +272,8 @@ if [ $# -eq 1 ] ; then chmod 644 $libdir/pure/parsexml.nim cp lib/pure/pegs.nim $libdir/pure/pegs.nim || exit 1 chmod 644 $libdir/pure/pegs.nim + cp lib/pure/redis.nim $libdir/pure/redis.nim || exit 1 + chmod 644 $libdir/pure/redis.nim cp lib/pure/regexprs.nim $libdir/pure/regexprs.nim || exit 1 chmod 644 $libdir/pure/regexprs.nim cp lib/pure/ropes.nim $libdir/pure/ropes.nim || exit 1 diff --git a/install.txt b/install.txt index 86b8285e7..55968e744 100755 --- a/install.txt +++ b/install.txt @@ -1,6 +1,23 @@ Installation ============ +Bootstrapping from github +------------------------- + +To get the source code you need either of these: + +* A working web browser + tar(or equivalent): + https://github.com/Araq/Nimrod/tarball/master +* wget + tar: + ``wget --no-check-certificate "https://github.com/Araq/Nimrod/tarball/master"`` +* git: ``git clone git://github.com/Araq/Nimrod.git`` + +After downloading the source (and extracting it), you need to extract build/csources.zip then you can bootstrap with: + +* ``./build.sh`` or ``build.bat`` (Windows) +* ``nimrod c koch`` +* ``koch boot -d:release`` + Installation on Linux/UNIX -------------------------- diff --git a/lib/pure/strtabs.nim b/lib/pure/strtabs.nim index fda0740d3..8be66dee9 100755 --- a/lib/pure/strtabs.nim +++ b/lib/pure/strtabs.nim @@ -142,18 +142,19 @@ proc newStringTable*(mode: TStringTableMode): PStringTable {. result.counter = 0 newSeq(result.data, startSize) -proc newStringTable*(keyValuePairs: openarray[string], - mode: TStringTableMode = modeCaseSensitive): PStringTable {. - rtl, extern: "nst$1WithPairs".} = - ## creates a new string table with given key value pairs. - ## Example:: - ## var mytab = newStringTable("key1", "val1", "key2", "val2", - ## modeCaseInsensitive) - result = newStringTable(mode) - var i = 0 - while i < high(keyValuePairs): - result[keyValuePairs[i]] = keyValuePairs[i + 1] - inc(i, 2) +when false: + proc newStringTable(keyValuePairs: openarray[string], + mode = modeCaseSensitive): PStringTable {. + rtl, extern: "nst$1WithPairs".} = + ## creates a new string table with given key value pairs. + ## Example:: + ## var mytab = newStringTable("key1", "val1", "key2", "val2", + ## modeCaseInsensitive) + result = newStringTable(mode) + var i = 0 + while i < high(keyValuePairs): + result[keyValuePairs[i]] = keyValuePairs[i + 1] + inc(i, 2) proc newStringTable*(keyValuePairs: openarray[tuple[key, val: string]], mode: TStringTableMode = modeCaseSensitive): PStringTable {. diff --git a/web/news.txt b/web/news.txt index ce48b4e90..f8bcef3db 100755 --- a/web/news.txt +++ b/web/news.txt @@ -76,6 +76,8 @@ Additions returns a ``TFile`` and raises an exception in case of an error. - The compiler now might use a hashing for string case statements depending on the number of string literals in the case statement. +- Added a wrapper for ``redis``. +- The compiler now supports array, sequence and string slicing. 2010-10-20 Version 0.8.10 released |