c-blake
|
1b3725e395
Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)
|
6 years ago |
Araq
|
f12a5431a1
make tests green again
|
6 years ago |
Andreas Rumpf
|
696c0c48c7
fixes merge conflict
|
6 years ago |
Andreas Rumpf
|
dae5450947
WIP: disallow 'nil' for strings and seqs
|
6 years ago |
Andreas Rumpf
|
74bf316619
more progress on destructor based strings
|
6 years ago |
Andreas Rumpf
|
b5a96d28c7
codgen refactoring: prepare for alternative string/seq implementations
|
6 years ago |
Araq
|
8e9551b1c7
fixex merge conflicts
|
6 years ago |
nitely
|
ba39f359aa
check bounds instead of index
|
6 years ago |
Andreas Rumpf
|
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
|
6 years ago |
Andreas Rumpf
|
1284827df2
C code generator compiles again
|
6 years ago |
Andreas Rumpf
|
13a380bca6
make tests green
|
6 years ago |
Andreas Rumpf
|
aded62520b
string to cstring conversions produce the empty C string for nil; this will be consistent with alternative string implementations
|
6 years ago |
Araq
|
1d9343080d
added toOpenArray builtin for zero-copy slices; syntax sugar yet to come
|
6 years ago |
Andreas Rumpf
|
358709e9cb
fixes #6960
|
6 years ago |
Andreas Rumpf
|
e4081a7201
preparations for language extensions: 'sink' and 'lent' types
|
7 years ago |
Andreas Rumpf
|
70ea45cdba
deprecated unary '<'
|
7 years ago |
Andreas Rumpf
|
77453f33df
fixes #6435
|
7 years ago |
Andreas Rumpf
|
405b9c8a85
refactoring: TLoc knows the node it originated from; it is planned to use this to produce better C code (move optimizations)
|
7 years ago |
Araq
|
46b672a6c4
minor codegen bugfix: don't use names for closures that are also mangled Nim names
|
7 years ago |
Araq
|
4c5ecb46b0
fixes a minor codegen issue where name mangling could produce an identifier used by the codegen; refs #5437
|
7 years ago |
Brandon Pickering
|
da1293c405
Reset exprs before return by arg. Fixes #5098 (#5191)
|
8 years ago |
Araq
|
e6c5622aa7
removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes
|
8 years ago |
Jacek Sieka
|
3cd4cf4320
remove unused stuff
|
8 years ago |
Jacek Sieka
|
981a8950c6
remove keepAlive and friends
|
8 years ago |
Andreas Rumpf
|
b47d9b7b91
fixes #4371
|
8 years ago |
Matthew Baulch
|
a2301f64cd
Return nil from genOtherArg after error.
|
8 years ago |
Matthew Baulch
|
9a7b6af5fa
Report wrong arg count when too many params and no varargs.
|
8 years ago |
Andreas Rumpf
|
1124c61c49
Merge branch 'devel' into new-ll
|
9 years ago |
andri lim
|
aebad711ea
fixed #2240 and #3586
|
9 years ago |
Andreas Rumpf
|
3d7c57db88
fixes #2659
|
9 years ago |