bugfix: proper return types for templates
This commit is contained in:
parent
a15475f582
commit
f7884717c1
6 changed files with 35 additions and 26 deletions
|
|
@ -31,11 +31,12 @@ semstmts contains the semantic checking phase for statements
|
|||
semtypes contains the semantic checking phase for types
|
||||
seminst instantiation of generic procs and types
|
||||
semfold contains code to deal with constant folding
|
||||
semthreads deep program analysis for threads
|
||||
evals contains an AST interpreter for compile time evaluation
|
||||
pragmas semantic checking of pragmas
|
||||
|
||||
idents implements a general mapping from identifiers to an internal
|
||||
representation (``PIdent``) that is used, so that a simple
|
||||
representation (``PIdent``) that is used so that a simple
|
||||
id-comparison suffices to say whether two Nimrod identifiers
|
||||
are equivalent
|
||||
ropes implements long strings represented as trees for
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ Path Purpose
|
|||
``dist`` additional packages for the distribution
|
||||
``doc`` the documentation; it is a bunch of
|
||||
reStructuredText files
|
||||
``lib`` the Nimrod library; ``rod`` depends on it!
|
||||
``web`` website of Nimrod; generated by ``koch.py``
|
||||
``lib`` the Nimrod library
|
||||
``web`` website of Nimrod; generated by ``nimweb``
|
||||
from the ``*.txt`` and ``*.tmpl`` files
|
||||
============ ==============================================
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ parser. The parser builds a syntax tree that is used by the code generator.
|
|||
This syntax tree is the interface between the parser and the code generator.
|
||||
It is essential to understand most of the compiler's code.
|
||||
|
||||
In order to compile Nimrod correctly, type-checking has to be seperated from
|
||||
In order to compile Nimrod correctly, type-checking has to be separated from
|
||||
parsing. Otherwise generics cannot work.
|
||||
|
||||
.. include:: filelist.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue