summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* tester compiles under taint mode againAraq2012-07-201-3/+3
* fixed the rodfiles testsZahary Karadjov2012-07-205-36/+39
* removed nimdat in favor of per-module dat init procsZahary Karadjov2012-07-196-75/+73
* fixes #168Araq2012-07-191-1/+2
* bugfix: name mangling of field namesAraq2012-07-191-2/+23
* bugfixes for the symbol mangling; implements #129Araq2012-07-195-21/+58
* implemented #133Araq2012-07-193-5/+40
* bugfix: constraint matching for tyGenericInst; implements #130Araq2012-07-193-2/+32
* made ttempl3 green againAraq2012-07-191-2/+3
* don't put DLL loading into nimdatAraq2012-07-191-34/+27
* Merge branch 'master' of github.com:Araq/NimrodAraq2012-07-191-27/+34
|\
| * dynamic library symbols are not loaded in nimdatZahary Karadjov2012-07-181-27/+34
* | improvements for 'bind', fixes #166Araq2012-07-186-32/+61
|/
* attempt to fix DLL generationAraq2012-07-186-22/+21
* equality and hashing for closuresAraq2012-07-177-11/+31
* made some tests greenAraq2012-07-176-9/+8
* tutorial improvementsAraq2012-07-171-16/+23
* make tests green againAraq2012-07-1719-149/+166
* Merge branch 'master' of github.com:Araq/NimrodAraq2012-07-161-0/+1541
|\
| * Merge pull request #165 from Schala/masterAraq2012-07-151-0/+1541
| |\
| | * PDCurses wrapper (incomplete, see desc)Schala Zeal2012-07-151-0/+1541
* | | preparations for making 'closure' the default calling convention for proc typesAraq2012-07-1636-102/+117
* | | closures shouldn't leak anymoreAraq2012-07-163-4/+4
* | | x11 example compiles again; updated python wrapper; compiler supports variabl...Araq2012-07-167-21/+51
|/ /
* | x11 wrapper uses system's typesAraq2012-07-153-7/+4
* | c2nim and system.nim now agree on a C type mappingAraq2012-07-154-8/+34
* | made a test green againAraq2012-07-153-6/+4
|/
* added system.@ for openarraysAraq2012-07-143-8/+11
* improved unsigned supportAraq2012-07-149-98/+121
* proper enum constraints for system.nimAraq2012-07-132-4/+4
* work on closures continues; fixed #116Araq2012-07-133-4/+23
* fixes cast[int8] bugAraq2012-07-121-6/+0
* ';' as statement separatorAraq2012-07-124-11/+15
* fixes #112Araq2012-07-111-0/+2
* ';' now valid for parameter listsAraq2012-07-115-12/+20
* pcre wrapper compiles againAraq2012-07-111-6/+8
* fixes #164Araq2012-07-111-4/+4
* Merge branch 'master' of github.com:Araq/NimrodAraq2012-07-112-43/+114
|\
| * Merge pull request #160 from Schala/masterAraq2012-07-112-43/+114
| |\
| | * Oops..Schala Zeal2012-07-091-1/+1
| | * PCRE wrapper update to 8.31Schala Zeal2012-07-092-44/+115
* | | typo in todo.txtAraq2012-07-111-1/+1
|/ /
* | overloading resolution finally takes inheritance depth into accountAraq2012-07-113-66/+78
* | fixes #147Araq2012-07-103-3/+21
* | fixes #162Araq2012-07-101-1/+1
|/
* dialogs.nim and osinfo_win.nim compile againAraq2012-07-102-12/+18
* some more bugfixes for the integer promotion rulesAraq2012-07-104-8/+9
* sockets compile again with SSL supportAraq2012-07-102-6/+5
* improved cross-compilation supportAraq2012-07-093-14/+18
* more fixes for new integer promotion rules; fixes #152; fixes #157; fixes #15...Araq2012-07-098-20/+27
"> out a given list of numbers. # # To run: # $ git clone https://github.com/akkartik/mu # $ cd mu # $ ./mu continuation4.mu # # Expected output: # 1 # 2 # 3 def main [ local-scope l:&:list:num <- copy null l <- push 3, l l <- push 2, l l <- push 1, l k:continuation, x:num, done?:bool <- call-with-continuation-mark 100/mark, create-yielder, l { break-if done? $print x 10/newline k, x:num, done?:bool <- call k loop } ] def create-yielder l:&:list:num -> n:num, done?:bool [ local-scope load-inputs { done? <- equal l, null break-if done? n <- first l l <- rest l return-continuation-until-mark 100/mark, n, done? loop } # A function that returns continuations shouldn't get the opportunity to # return. Calling functions should stop calling its continuation after this # point. return-continuation-until-mark 100/mark, -1, done? assert false, [called too many times, ran out of continuations to return] ]