This commit is contained in:
narimiran 2017-10-23 14:26:32 +02:00 • committed by Andreas Rumpf
commit 5404e47dd0

View file

@ -20,10 +20,12 @@ to compile to C++, Objective-C or JavaScript. This document tries to
concentrate in a single place all the backend and interfacing options. concentrate in a single place all the backend and interfacing options.
The Nim compiler supports mainly two backend families: the C, C++ and The Nim compiler supports mainly two backend families: the C, C++ and
Objective-C targets and the JavaScript target. `The C like targets`_ creates Objective-C targets and the JavaScript target. `The C like targets
source files which can be compiled into a library or a final executable. `The <#backends-the-c-like-targets>`_ creates source files which can be compiled
JavaScript target`_ can generate a ``.js`` file which you reference from an into a library or a final executable. `The JavaScript target
HTML file or create a `standalone nodejs program <http://nodejs.org>`_. <#backends-the-javascript-target>`_ can generate a ``.js`` file which you
reference from an HTML file or create a `standalone nodejs program
<http://nodejs.org>`_.
On top of generating libraries or standalone applications, Nim offers On top of generating libraries or standalone applications, Nim offers
bidirectional interfacing with the backend targets through generic and bidirectional interfacing with the backend targets through generic and