summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Implement the `is` operator for the new static and typedesc type classesZahary Karadjov2018-06-164-25/+69
| | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase
* Bugfix: the size of an array may be a static tuple elementZahary Karadjov2018-06-161-1/+2
|
* Bugfix: aliases to generic types were not considered implicit generic parametersZahary Karadjov2018-06-161-0/+3
|
* A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-167-52/+110
|
* Merge pull request #8039 from yglukhov/proc-pragmasAndreas Rumpf2018-06-162-60/+75
|\ | | | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma
| * Fixed proto optionsYuriy Glukhov2018-06-151-0/+1
| |
| * Fixed stacktrace/linetrace proc pragmas when appended by macro pragmaYuriy Glukhov2018-06-142-60/+74
| |
* | nimpretty: render and/or/notin/in properlyAndreas Rumpf2018-06-161-2/+9
| |
* | nimpretty: first version that seems useful for others to test itAndreas Rumpf2018-06-164-3/+231
| |
* | Merge pull request #8021 from yglukhov/seq-litAndreas Rumpf2018-06-141-1/+1
|\ \ | | | | | | Added NIM_STRLIT_FLAG to seq literals
| * | Added NIM_STRLIT_FLAG to seq literalsYuriy Glukhov2018-06-121-1/+1
| | |
* | | implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵Araq2018-06-141-18/+14
| |/ |/| | | | | paths; refs #7250
* | Fixed uncaught exception in vm genYuriy Glukhov2018-06-131-1/+1
| |
* | implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-1312-45/+58
| | | | | | | | conventions outlined in NEP-1
* | bugfix: allow 'export' in the VMAndreas Rumpf2018-06-122-1/+2
| |
* | Merge pull request #8019 from yglukhov/proc-stacktraceAndreas Rumpf2018-06-122-2/+5
|\ \ | | | | | | Allow stacktrace and linetrace pragmas on procs
| * | Allow stacktrace and linetrace pragmas on procsYuriy Glukhov2018-06-122-2/+5
| |/
* | Merge pull request #7981 from cooldome/Fix_-7980Andreas Rumpf2018-06-122-3/+7
|\ \ | |/ |/| Fixes 7980
| * style improvementscooldome2018-06-122-3/+3
| |
| * add commentcooldome2018-06-121-0/+1
| |
| * New approachcooldome2018-06-123-32/+27
| |
| * fixes 7980cooldome2018-06-061-21/+29
| |
* | Merge pull request #8014 from yglukhov/fix-6803Andreas Rumpf2018-06-112-13/+11
|\ \ | | | | | | Fixes #6803
| * | Fixes #6803Yuriy Glukhov2018-06-112-13/+11
| | |
* | | Correct field lookup in concept typesLemonBoy2018-06-121-1/+1
|/ / | | | | | | Fixes #6770
* | fixes yet another merge conflictAraq2018-06-114-91/+4
|\ \
| * \ Merge pull request #8009 from yglukhov/remove-oldIterTransfAndreas Rumpf2018-06-114-91/+4
| |\ \ | | | | | | | | Removed oldIterTranf feature
| | * | Removed oldIterTranf featureYuriy Glukhov2018-06-104-91/+4
| | | |
* | | | disable -d:nimIncremental for develAraq2018-06-111-1/+1
| | | |
* | | | fixes merge conflictAraq2018-06-111-4/+2
|\| | |
| * | | Merge pull request #8005 from Vindaar/fixes-7997Andreas Rumpf2018-06-111-4/+2
| |\ \ \ | | |/ / | |/| | fix #7997
| | * | fix #7997Vindaar2018-06-101-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue #7997, which was caused by an export of a `release` proc in `locks`. Thus the `release` in `defined(release)` of the `ifDebug` template, was of kind `nkSym` instead of `nkIdent`. We fix this by getting the `PIdent` of the argument to `defined` using `considerQuotedIdent`. This has the nice property of also checking for a valid identifier for us. E.g. `defined(123)` would fail with ``` Error: in expression 'defined(123)': identifier expected, but found '123' ``` The `localError` is removed, due to a clear distinction between `declared` and `defined` now.
* | | | make tests green properlyAndreas Rumpf2018-06-111-2/+2
| | | |
* | | | fixes merge conflictAndreas Rumpf2018-06-114-15/+24
|\| | |
| * | | fix #7653Zahary Karadjov2018-06-102-12/+15
| |/ /
| * | Fix type inference with static literals.LemonBoy2018-06-101-1/+1
| | | | | | | | | | | | Fixes #3977
| * | Merge pull request #7873 from ehmry/GenodeEnvAndreas Rumpf2018-06-091-2/+8
| |\ \ | | | | | | | | Native access to Genode environment
| | * | Native access to Genode environmentEmery Hemingway2018-06-071-2/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a 'GenodeEnv' type and a 'componentConstructHook' to the system module. The 'componentConstructHook' allows for detection of POSIX style programs that exit implicitly or native Genode components that initialize to serve RPC requests and OS signals. This hook takes a 'GenodeEnv' argument so that the environment interface is passed cleanly to application code after globals are initialized. This is an typed pointer to a C++ object, procedures for accessing the environment will be available from a Nimble library and not included in the standard library. The standard library has an internal pointer to the environment object but this is not for external use, the undocumented global environment pointer has been removed.
* | | make tests green againAndreas Rumpf2018-06-112-8/+10
| | |
* | | incremental compilation: save the configurationAndreas Rumpf2018-06-112-11/+29
| | |
* | | record cppdefine for incremental compilationAndreas Rumpf2018-06-103-3/+5
| | |
* | | implement passL and passC for the compilation cacheAndreas Rumpf2018-06-103-8/+13
| | |
* | | fixex merge conflictsAraq2018-06-0817-96/+1479
|\| |
| * | Merge pull request #7986 from yglukhov/fix-7982Andreas Rumpf2018-06-073-4/+15
| |\ \ | | | | | | | | Fixes #7982
| | * | Fixes #7982Yuriy Glukhov2018-06-073-4/+15
| | | |
| * | | Fixes #7985Yuriy Glukhov2018-06-071-9/+8
| |/ /
| * / Fixed yield in nkBlockExprYuriy Glukhov2018-06-071-2/+14
| |/
| * Merge pull request #7550 from jangko/fix4799Andreas Rumpf2018-06-062-1/+11
| |\ | | | | | | fixes #4799, varargs now can accept polymorphic types
| | * add more test to 4799andri lim2018-06-052-1/+11
| | |
| * | Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969.Yuriy Glukhov2018-06-061-2/+15
| | |