summary refs log tree commit diff stats
path: root/lib/core
Commit message (Collapse)AuthorAgeFilesLines
* last stdlib cleanupsAraq2019-09-212-0/+13
|
* lib\pure\htmlgen.nimAraq2019-09-212-116/+0
| | | | avoid callsite for htmlgen
* add nodeId proc to macros (#11456)Arne Döring2019-09-181-0/+6
| | | | | | | | * add nodeId proc to macros * add doc comment. * fix typo
* fixes a weird quote do regressionAndreas Rumpf2019-09-161-1/+1
|
* Allow ProcTy in addPragma and friends (#12158)Yuriy Glukhov2019-09-101-6/+12
|
* gc:destructors progressAraq2019-09-011-49/+0
|
* fixes #11833 (#12018)Andreas Rumpf2019-08-241-1/+1
|
* new gensym handling (#11985)Andreas Rumpf2019-08-231-2/+2
| | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package
* Implement isExported for symbols in macros (#11963)nc-x2019-08-181-0/+3
| | | | | | | | * Implement isExported for macros * Reimplement isExported using VM callback mechanism * VM does not support exceptions, use stacktrace() instead.
* refs #11956 (#11957)Timothee Cour2019-08-161-1/+1
|
* fixes #11844 (#11935)Andreas Rumpf2019-08-131-4/+4
|
* fixes #11891Andreas Rumpf2019-08-101-0/+10
|
* fixes #11844Araq2019-08-041-1/+1
|
* Fix the range of destroyed elements when shrinking a seq (#11785)Jörg Wollenschläger2019-07-191-1/+1
|
* Fix compilation warning in macros.nimKaushal Modi2019-07-161-1/+1
| | | | | | | | Fixes: > macros.nim(1423, 35) Warning: `typed` will change its meaning in future versions of Nim. `void` or no return type declaration at all has the same meaning as the current meaning of `typed` as return type declaration. [Deprecated]
* made --newruntime ready for multi-threadingAraq2019-07-121-5/+21
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-103-19/+19
| | | | --styleCheck:error
* fixes #11530Andreas Rumpf2019-07-081-1/+6
|
* [HCR] Added warning for using performCodeReload() in main module (#11667)awr12019-07-071-1/+4
| | | | | | | | * [HCR] Added error for using performCodeReload() in main module * [HCR] changed this to a warning, clarified usage * [HCR] fixed typo
* [other] added system.dispose for owned refsAndreas Rumpf2019-06-201-0/+3
|
* [bugfix] owned closures (#11544)Andreas Rumpf2019-06-201-0/+7
|
* change newLit on Seq (#11542)Arne Döring2019-06-191-7/+7
|
* [refactoring] error instead of quit for basename (#11491)Jasper Jenkins2019-06-131-2/+4
|
* intVal works now on enum field symbols (#11403)Arne Döring2019-06-051-0/+2
| | | | | | * intVal works now on enum field symbols * disable flakey titerators test
* remove stdlib case transitions (#11401)Jasper Jenkins2019-06-051-1/+1
|
* Render deprecated pragmas (#8886)LemonBoy2019-06-031-29/+26
| | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random
* fix doccomment of macros.get{Size,Align,Offset} [ci skip] (#11346)Arne Döring2019-05-281-7/+12
|
* Allow void macro result (#11286)Arne Döring2019-05-211-1/+1
| | | | | * allow void macro result * add test for void macro result type
* fixes macros.quote documentation; doubling of the escape operator never worked!Araq2019-05-051-3/+1
|
* add progmas to params of macros.newProc (#11025)Lolo Iccl2019-04-271-3/+7
| | | Merging
* newruntime: make 'discard new RootObj' workAraq2019-04-261-1/+1
|
* make seq.add more effective for --newruntimeAraq2019-04-251-0/+14
|
* newruntime: fix for -d:useMallocAndreas Rumpf2019-04-231-1/+2
|
* fixes #11065Araq2019-04-221-7/+20
|
* Add len check for newIfStmt to avoid segfault (#11032)Jasper Jenkins2019-04-151-0/+2
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-111-0/+7
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.
* enable most tnewruntime_strutils testsAraq2019-04-101-1/+1
|
* newruntime: fixes another bugAraq2019-04-102-3/+2
|
* newruntime: fixes memory leakAraq2019-04-091-3/+4
|
* strs.nim: fixed a silly typoAraq2019-04-091-1/+1
|
* allocators.nim: use zero initializationAndreas Rumpf2019-04-081-3/+8
|
* respect -d:useMalloc everywhere; turn ansi_c and memory into proper Nim modulesAraq2019-04-081-3/+18
|
* destructors: we are cooking nowAraq2019-04-062-19/+9
|
* added nimAsgnStrV2 compilerprocAraq2019-04-061-7/+28
|
* newruntime: progressAraq2019-04-021-2/+1
|
* macros: typoAndreas Rumpf2019-03-261-1/+1
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-232-8/+26
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* sizeof alignof offsetof macros api (#10855)Arne Döring2019-03-191-0/+12
|
* rename for code clarityAndreas Rumpf2019-03-151-5/+5
|
* newruntime: make dynamic destructors compatible with C++Andreas Rumpf2019-03-151-2/+3
|