From ff3e80279b928f94fe707b23a749d12e0080bd21 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 28 Mar 2012 20:50:40 +0200 Subject: [PATCH] corrected the index website --- tests/compile/tglobalforvar.nim | 7 +++++++ web/index.txt | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 tests/compile/tglobalforvar.nim diff --git a/tests/compile/tglobalforvar.nim b/tests/compile/tglobalforvar.nim new file mode 100644 index 0000000000..9f61ebcab6 --- /dev/null +++ b/tests/compile/tglobalforvar.nim @@ -0,0 +1,7 @@ + +var funcs: seq[proc (): int] = @[] +for i in 0..10: + funcs.add((proc (): int = return i * i)) + +echo(funcs[3]()) + diff --git a/web/index.txt b/web/index.txt index fcdccee49a..cf8e59cdd1 100755 --- a/web/index.txt +++ b/web/index.txt @@ -45,8 +45,8 @@ Nimrod is efficient * Native code generation (currently via compilation to C), not dependant on a virtual machine: **Nimrod produces small executables without dependencies for easy redistribution.** -* A fast non-recursive incremental and generational garbage collector that - should be well suited for soft real-time systems (like games). +* A fast **non-tracing** garbage collector that should be well suited for soft + real-time systems (like games). * System programming features: Ability to manage your own memory and access the hardware directly. Pointers to garbage collected memory are distinguished from pointers to manually managed memory.