Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+2 |
| | |||||
* | codegen improvement: map the empty string to 'nil' since it's now allowed to ↵ | Araq | 2018-08-08 | 1 | -3/+3 |
| | | | | do that | ||||
* | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -1/+1 |
| | |||||
* | fixes 7833 (#8533) | Andreas Rumpf | 2018-08-05 | 1 | -16/+36 |
| | | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier | ||||
* | Don't depend on string.h in codegen (#8299) | Yuriy Glukhov | 2018-07-13 | 1 | -21/+13 |
| | |||||
* | make tmemfile2 work again | Araq | 2018-07-06 | 1 | -0/+1 |
| | |||||
* | turn destructors into finalizers | Andreas Rumpf | 2018-07-05 | 1 | -3/+15 |
| | |||||
* | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-01 | 1 | -13/+17 |
|\ | |||||
| * | Fix codegen for mInSet magic and empty sets (#8140) | LemonBoy | 2018-06-29 | 1 | -13/+17 |
| | | | | | | Fixes #8041 | ||||
* | | codgen refactoring: prepare for alternative string/seq implementations | Andreas Rumpf | 2018-06-29 | 1 | -8/+9 |
|/ | |||||
* | Fix minor codegen issue with static data types | LemonBoy | 2018-06-19 | 1 | -2/+2 |
| | |||||
* | Added NIM_STRLIT_FLAG to seq literals | Yuriy Glukhov | 2018-06-12 | 1 | -1/+1 |
| | |||||
* | Correct field lookup in concept types | LemonBoy | 2018-06-12 | 1 | -1/+1 |
| | | | | Fixes #6770 | ||||
* | fixex merge conflicts | Araq | 2018-06-08 | 1 | -9/+16 |
|\ | |||||
| * | Merge pull request #7550 from jangko/fix4799 | Andreas Rumpf | 2018-06-06 | 1 | -1/+3 |
| |\ | | | | | | | fixes #4799, varargs now can accept polymorphic types | ||||
| | * | add more test to 4799 | andri lim | 2018-06-05 | 1 | -1/+3 |
| | | | |||||
| * | | Merge pull request #7967 from nitely/empty_openarray_7904 | Andreas Rumpf | 2018-06-06 | 1 | -7/+12 |
| |\ \ | | | | | | | | | support empty toOpenArray | ||||
| | * | | check bounds instead of index | nitely | 2018-06-05 | 1 | -7/+12 |
| | |/ | |||||
| * | | Merge branch 'devel' into yield-in-try | Yuriy Glukhov | 2018-05-15 | 1 | -97/+97 |
| |\| | |||||
| * | | Closure iter transformation | Yuriy Glukhov | 2018-05-09 | 1 | -1/+1 |
| | | | |||||
* | | | AST change: keep nkStaticStmt in the AST for incremental compilation support | Andreas Rumpf | 2018-06-03 | 1 | -1/+1 |
| | | | |||||
* | | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -73/+73 |
| | | | |||||
* | | | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| |/ |/| | |||||
* | | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -28/+28 |
| | | |||||
* | | move more globals into the config object | Andreas Rumpf | 2018-05-13 | 1 | -1/+1 |
| | | |||||
* | | C code generator compiles again | Andreas Rumpf | 2018-05-12 | 1 | -69/+69 |
|/ | |||||
* | introduce --laxStrings:on switch | Araq | 2018-04-30 | 1 | -1/+1 |
| | |||||
* | make the build more robust | Andreas Rumpf | 2018-04-30 | 1 | -3/+8 |
| | |||||
* | strutils: code cleanups and do not rely on the terminating binary zero anymore | Andreas Rumpf | 2018-04-28 | 1 | -8/+7 |
| | |||||
* | correct comparisons for nil strings/seqs | Andreas Rumpf | 2018-04-28 | 1 | -8/+6 |
| | |||||
* | make tests green | Andreas Rumpf | 2018-04-28 | 1 | -1/+1 |
| | |||||
* | string to cstring conversions produce the empty C string for nil; this will ↵ | Andreas Rumpf | 2018-04-28 | 1 | -1/+1 |
| | | | | be consistent with alternative string implementations | ||||
* | codegen: support nil strings/seqs in more places | Andreas Rumpf | 2018-04-28 | 1 | -5/+5 |
| | |||||
* | nil in string concats does not produce crashes anymore | Andreas Rumpf | 2018-04-27 | 1 | -1/+1 |
| | |||||
* | setLen doesn't crash on nil strings/seqs anymore | Andreas Rumpf | 2018-04-27 | 1 | -3/+3 |
| | |||||
* | 'add' on a nil sequence doesn't produce a crash anymore | Andreas Rumpf | 2018-04-27 | 1 | -4/+4 |
| | |||||
* | remove dead code elimination option (#7669) | Jacek Sieka | 2018-04-23 | 1 | -3/+2 |
| | |||||
* | refactoring: make FileIndex a distinct type; make line information an ↵ | Andreas Rumpf | 2018-04-21 | 1 | -1/+1 |
| | | | | uint16; fixes #7654 | ||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -2/+2 |
| | |||||
* | Cleanups 20180401 (#7458) | Jacek Sieka | 2018-04-12 | 1 | -19/+23 |
| | |||||
* | fixes #6843 | Araq | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | C codegen: preparations for different seq and string implementations | Andreas Rumpf | 2018-04-03 | 1 | -23/+7 |
| | |||||
* | fixes codegen for nil cstrings | Andreas Rumpf | 2018-04-02 | 1 | -10/+15 |
| | |||||
* | added toOpenArray builtin for zero-copy slices; syntax sugar yet to come | Araq | 2018-03-24 | 1 | -0/+17 |
| | |||||
* | fixes #7392 (#7395) | cooldome | 2018-03-23 | 1 | -0/+1 |
| | |||||
* | Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340) | cooldome | 2018-03-16 | 1 | -0/+3 |
| | | | Do not emit object definition it if used only by ref or ptr | ||||
* | make 'memset' calls more robust; refs #7341 | Andreas Rumpf | 2018-03-16 | 1 | -1/+2 |
| | |||||
* | basic 'lent T' test works | Andreas Rumpf | 2018-01-21 | 1 | -7/+7 |
| | |||||
* | avoid creating temporary in genObjConstr if possible (#7032) | jcosborn | 2018-01-11 | 1 | -16/+32 |
| | |||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -11/+11 |
| |