summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-08-08 22:45:21 +0200
committerAndreas Rumpf <andreas@andreas-desktop>2010-08-08 22:45:21 +0200
commit8098e2a421bf26ad0f350f297f19f34619207443 (patch)
treeada62dabe6a38c7fbe47d65e2674b9070f2cef3c /doc
parentc9e011e36cf400e1a2e5466a1339f716623508f7 (diff)
downloadNim-8098e2a421bf26ad0f350f297f19f34619207443.tar.gz
inlining of the write barrier for dlls
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/intern.txt10
-rwxr-xr-xdoc/nimrodc.txt25
-rwxr-xr-xdoc/pegdocs.txt2
3 files changed, 17 insertions, 20 deletions
diff --git a/doc/intern.txt b/doc/intern.txt
index 50fc9b8b1..c347a498c 100755
--- a/doc/intern.txt
+++ b/doc/intern.txt
@@ -169,16 +169,6 @@ in mind:
   without the ``-w`` option helps!
 
 
-Generation of dynamic link libraries
-====================================
-
-Generation of dynamic link libraries or shared libraries is not difficult; the
-underlying C compiler already does all the hard work for us. The problem is the
-common runtime library, especially the memory manager. Note that Borland's
-Delphi had exactly the same problem. The workaround is to not link the GC with
-the Dll and provide an extra runtime dll that needs to be initialized.
-
-
 The Garbage Collector
 =====================
 
diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt
index 1ada1fffb..997146ede 100755
--- a/doc/nimrodc.txt
+++ b/doc/nimrodc.txt
@@ -70,17 +70,22 @@ However, the generated C code is not platform independent. C code generated for
 Linux does not compile on Windows, for instance. The comment on top of the

 C file lists the OS, CPU and CC the file has been compiled for.

 
-..
-  DLL generation
-  ==============
 
-  Nimrod supports the generation of DLLs. However, there must be only one 
-  instance of the GC per process/address space. This instance is contained in
-  ``nimrtl.dll``. This means that every generated Nimrod DLL depends
-  on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
-    
-    nimrod c -d:release lib/nimrtl.nim
-

+DLL generation
+==============
+
+Nimrod supports the generation of DLLs. However, there must be only one 
+instance of the GC per process/address space. This instance is contained in
+``nimrtl.dll``. This means that every generated Nimrod DLL depends
+on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
+  
+  nimrod c -d:release lib/nimrtl.nim
+
+To link to ``nimrtl.dll`` use the command::
+
+  nimrod c -d:useNimRtl myprog.nim
+
+
 

 Additional Features

 ===================

diff --git a/doc/pegdocs.txt b/doc/pegdocs.txt
index 87b4e25bc..a97f7c765 100755
--- a/doc/pegdocs.txt
+++ b/doc/pegdocs.txt
@@ -88,6 +88,8 @@ macro              meaning
                    ``[^ \9-\13]``
 ``\w``             any "word" character: ``[a-zA-Z0-9_]``
 ``\W``             any "non-word" character: ``[^a-zA-Z0-9_]``
+``\a``             same as ``[a-zA-Z]``
+``\A``             same as ``[^a-zA-Z]``
 ``\n``             any newline combination: ``\10 / \13\10 / \13``
 ``\i``             ignore case for matching; use this at the start of the PEG
 ``\y``             ignore style for matching; use this at the start of the PEG