fixed some typos in the documentation

This commit is contained in:
Araq 2012-07-31 08:11:10 +02:00
commit 559980c890
2 changed files with 9 additions and 8 deletions

View file

@ -150,7 +150,7 @@ Define Effect
``release`` Turns off runtime checks and turns on the optimizer.
``useWinAnsi`` Modules like ``os`` and ``osproc`` use the Ansi versions
of the Windows API. The default build uses the Unicode
version.s
version.
``useFork`` Makes ``osproc`` use ``fork`` instead of ``posix_spawn``.
``useNimRtl`` Compile and link against ``nimrtl.dll``.
``useMalloc`` Makes Nimrod use C's `malloc`:idx: instead of Nimrod's
@ -410,7 +410,7 @@ Nimrod for embedded systems
===========================
The standard library can be avoided to a point where C code generation
for a 16bit micro controllers is feasible. Use the `standalone`:idx: target
for 16bit micro controllers is feasible. Use the `standalone`:idx: target
(``--os:standalone``) for a bare bones standard library that lacks any
OS features.

View file

@ -11,7 +11,9 @@ Nimrod Tutorial (Part II)
Introduction
============
"With great power comes great responsibility." -- Spiderman
"Object-oriented programming is an exceptionally bad idea which could
only have originated in California." --Edsger Dijkstra
This document is a tutorial for the advanced constructs of the *Nimrod*
programming language.
@ -20,11 +22,10 @@ programming language.
Pragmas
=======
Pragmas are Nimrod's method to give the compiler additional information/
commands without introducing a massive number of new keywords. Pragmas are
processed during semantic checking. Pragmas are enclosed in the
special ``{.`` and ``.}`` curly dot brackets. This tutorial does not cover
pragmas. See the `manual <manual.html>`_ or `user guide <nimrodc.html>`_ for
a description of the available pragmas.
commands without introducing a massive number of new keywords. Pragmas are
enclosed in the special ``{.`` and ``.}`` curly dot brackets. This tutorial
does not cover pragmas. See the `manual <manual.html>`_
or `user guide <nimrodc.html>`_ for a description of the available pragmas.
Object Oriented Programming