first implementation of docgen2

This commit is contained in:
Araq 2012-06-23 08:41:11 +02:00
commit 01ab5948aa
6 changed files with 80 additions and 15 deletions

View file

@ -1,6 +1,8 @@
version 0.9.0
=============
- test new doc2 generator
Debug GC session:
- bug: stress testing basic method example (eval example)
without ``-d:release`` leaks memory?
@ -13,7 +15,6 @@ New pragmas:
- ``borrow`` needs to take type classes into account
- make templates hygienic by default: try to gensym() everything in the 'block'
of a template; find a better solution for gensym instead of `*ident`
- ``bind`` for overloaded symbols does not work apparently
- ``=`` should be overloadable; requires specialization for ``=``
- fix remaining closure bugs:
- make toplevel but in a scope vars local; make procs there inner procs
@ -25,7 +26,7 @@ New pragmas:
- unsigned ints and bignums; requires abstract integer literal type:
use tyInt+node for that
- change how comments are part of the AST
- extract nimdoc properly and document it finally
- document nimdoc properly finally
- rethink the syntax: distinction between expr and stmt is unfortunate;
indentation handling is quite complex too; problem with exception handling
is that often the scope of ``try`` is wrong and apart from that ``try`` is
@ -105,8 +106,7 @@ Low priority
- ``with proc `+`(x, y: T): T`` for generic code
- new feature: ``distinct T with operations``
- find a way for easy constructors and destructors; (destructors are much more
important than constructors)
- implement the "easy" constructors idea; document destructors
- code generated for type information is wasteful
- resizing of strings/sequences could take into account the memory that
is allocated