summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8975 from fragcolor-xyz/develAndreas Rumpf2018-09-163-15/+22
|\ | | | | Improve the compiler option cppCompileToNamespace
| * Removed optUseNimNamespace, removed useless nil checkGiovanni2018-09-163-15/+12
| |
| * improve the compiler option "cppCompileToNamespace", a custom namespace can ↵Giovanni2018-09-153-8/+18
| | | | | | | | now be set
* | Allow subpaths of names of length 1Jörg Wollenschläger2018-09-151-1/+1
|/
* Merge pull request #8971 from LemonBoy/fix-8967Andreas Rumpf2018-09-152-8/+10
|\ | | | | Fix codegen for set[T] parameters
| * Fix codegen for set[T] parametersLemonBoy2018-09-152-8/+10
| | | | | | | | | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967
* | Merge pull request #8875 from awr1/experimentalize-reorderAndreas Rumpf2018-09-152-5/+21
|\ \ | |/ |/| Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
| * fixed stmtPragmas stuffawr2018-09-071-1/+1
| |
| * brought back pragmaNoForward, deprecatedawr2018-09-051-0/+15
| |
| * Fix mergeawr2018-09-041-22/+7
| |
| * Deny THIS experimental pragma specifically for non-toplevelawr2018-09-041-1/+5
| |
| * Merge branch 'devel' into experimentalize-reorderawr12018-09-0454-484/+1017
| |\
| * | transformed {.reorder: on.} into {.experimental: codeReordering.}, added testsawr2018-09-042-9/+7
| | |
* | | Merge pull request #8966 from LemonBoy/fix-8964Andreas Rumpf2018-09-141-5/+7
|\ \ \ | | | | | | | | Fix hashing for codegenProc (sic) types
| * | | Fix hashing for codegenProc (sic) typesLemonBoy2018-09-141-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964
* | | | make tcompilerapi green, don't assue projectPath existsAraq2018-09-141-5/+8
| | | |
* | | | better file handling for .line directivesAraq2018-09-141-1/+3
| | | |
* | | | Merge branch 'devel' into araq-better-docgenAraq2018-09-1410-132/+171
|\| | |
| * | | Merge pull request #8949 from nim-lang/araq-for-loop-expressionsAndreas Rumpf2018-09-127-79/+98
| |\ \ \ | | | | | | | | | | For loop expressions
| | * | | extended system.type/typeof to support an upcoming 'collect' macro that ↵Andreas Rumpf2018-09-115-56/+67
| | | | | | | | | | | | | | | | | | | | works much better than sugar.lc
| | * | | fixes merge conflictsAndreas Rumpf2018-09-11130-14458/+14392
| | |\ \ \
| | | * \ \ Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-09-1110-111/+216
| | | |\ \ \
| | | * | | | fixes #3655Andreas Rumpf2018-09-051-5/+10
| | | | | | |
| | * | | | | steps to get for loops as expressionsAndreas Rumpf2018-02-282-21/+34
| | | | | | |
| * | | | | | Fix concat behaviour for uninitialized strings (#8950)LemonBoy2018-09-111-10/+12
| | | | | | |
| * | | | | | Fix semantic pass with borrowed magic procs (#8945)LemonBoy2018-09-111-0/+3
| | |_|/ / / | |/| | | | | | | | | | Reported by pqflx3 on the forum.
| * | | | | JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-19/+15
| | | | | |
| * | | | | Narrowing casts are applied after every op if needed (#8918)LemonBoy2018-09-081-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909
| * | | | | Fix AST generation for case statements (#8908)LemonBoy2018-09-071-1/+5
| | | | | | | | | | | | | | | | | | Fixes #7534
| * | | | | Don't segfault if the line is empty (#8906)LemonBoy2018-09-071-3/+3
| | | | | |
| * | | | | Fix type comparison in semConv (#8907)LemonBoy2018-09-071-1/+2
| | | | | | | | | | | | | | | | | | Fixes #8905
* | | | | | fixes #8883Araq2018-09-142-5/+12
| | | | | |
* | | | | | index generation for docgen knows about subdirectories; index knows about ↵Araq2018-09-131-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | enum values; fixes import statement for runnableExamples
* | | | | | nim doc: fixes cross-link generation when --out is usedAraq2018-09-102-5/+10
| | | | | |
* | | | | | some protection against injected doc comments from templatesAraq2018-09-082-7/+12
| | | | | |
* | | | | | 'nim doc': fixes index generation regressionAraq2018-09-082-4/+8
| | | | | |
* | | | | | make tests green againAraq2018-09-072-6/+12
| | | | | |
* | | | | | fixes bootstrapping problemsAraq2018-09-073-3/+3
| | | | | |
* | | | | | added a test for 'nim doc'Andreas Rumpf2018-09-073-7/+8
| | | | | |
* | | | | | compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-0744-487/+796
| | | | | | | | | | | | | | | | | | | | | | | | between modules
* | | | | | fixes #3655Andreas Rumpf2018-09-071-5/+10
|/ / / / /
* | | | | Fixes #8243 (#8904)Yuriy Glukhov2018-09-071-0/+19
| | | | |
* | | | | Allow wCodegenDecl on lambdas (#8892)LemonBoy2018-09-071-1/+1
| | | | |
* | | | | Sync line generation between C and JS backends (#8888)LemonBoy2018-09-071-3/+3
| | | | | | | | | | | | | | | Fixes #7224
* | | | | Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-2/+13
| | | | | | | | | | | | | | | Fixes #7249
* | | | | Renderer bug fixes (#8804)cooldome2018-09-073-50/+105
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Fixes #8763: render bug: pure enums not handled correctly Fixes #8762: render bug: binary operators called with quotes rendered incorrectly FIxes #8761: render bug: inversion of operator priorities
* | | | Fixes #8851 (#8859)Yuriy Glukhov2018-09-041-3/+3
| |/ / |/| |
* | | system.compileDate and compileTime are in UTC; fixes #7305; docgen supports ↵Andreas Rumpf2018-09-033-19/+23
| | | | | | | | | | | | SOURCE_DATE_EPOCH, fixes #3113
* | | Correctly mangle `this` in the JS backend (#8853)LemonBoy2018-09-031-1/+2
| | | | | | | | | | | | | | | As shown in pragmagic/karax#67 using `this` as parameter name made the codegen output wrong code (and the user didn't notice the errors in the browser console).
* | | fixes #8043Araq2018-09-032-4/+10
| | |