summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | 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.
* | 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
| |
* | Merge pull request #7907 from GULPF/lexer-unicode-fixAndreas Rumpf2018-06-061-1/+1
|\ \ | | | | | | Lexer fix for multi byte characters
| * | Multi byte characters should not be treated as part of an operatorOscar Nihlgård2018-06-031-1/+1
| | |
* | | Merge pull request #7967 from nitely/empty_openarray_7904Andreas Rumpf2018-06-062-10/+14
|\ \ \ | | | | | | | | support empty toOpenArray
| * | | check bounds instead of indexnitely2018-06-052-10/+14
| | |/ | |/|
* | | CosmeticsYuriy Glukhov2018-06-051-18/+13
| | |
* | | Merge pull request #7770 from yglukhov/yield-in-tryAndreas Rumpf2018-06-058-67/+1392
|\ \ \ | |/ / |/| | Yield in try
| * | Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-15100-5342/+5403
| |\ \
| * | | Review comments addressed. More thorough line info tracking.Yuriy Glukhov2018-05-101-65/+65
| | | |
| * | | Fixed line infoYuriy Glukhov2018-05-091-0/+1
| | | |
| * | | CosmeticsYuriy Glukhov2018-05-092-164/+77
| | | |
| * | | Small fix and cosmeticsYuriy Glukhov2018-05-092-8/+2
| | | |
| * | | Fixed codegen (added blockLeaveActions) to closure itersYuriy Glukhov2018-05-091-35/+38
| | | |
| * | | Corrected nkExceptBranch transformationYuriy Glukhov2018-05-091-13/+24
| | | |
| * | | More elaborate nkStmtListExpr loweringYuriy Glukhov2018-05-091-32/+372
| | | |
| * | | CleanupYuriy Glukhov2018-05-091-49/+31
| | | |
| * | | Yield in tryYuriy Glukhov2018-05-092-90/+498
| | | |
| * | | Minor dry upYuriy Glukhov2018-05-091-5/+3
| | | |
| * | | Don't leak sem PContext into transfYuriy Glukhov2018-05-093-10/+9
| | | |
| * | | CosmeticsYuriy Glukhov2018-05-091-23/+24
| | | |
| * | | Closure iter transformationYuriy Glukhov2018-05-099-42/+712
| | | |
* | | | fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)andri lim2018-06-042-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment
* | | | Fix for newStringOfCap in VM (#7901)Oscar Nihlgård2018-06-041-1/+2
| | | |
* | | | Wait until the end to print hint Conf (#7931)WhiteDuke2018-06-041-7/+18
| | | |
* | | | Support multi byte characters in module names (#7916)Oscar Nihlgård2018-05-311-1/+1
| |_|/ |/| |
* | | fixes #7818, correct internal representation of generic objects array ↵andri lim2018-05-292-3/+7
| | | | | | | | | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes
* | | fix #7883; fix #7829Zahary Karadjov2018-05-263-8/+10
| | |
* | | Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-14/+0
| | |
* | | fixes filter bug for empty linesdata-man2018-05-221-14/+10
| | |
* | | fixes #7696, add ConfigRef.arguments initialization (#7858)andri lim2018-05-221-1/+2
| | |
* | | fixes #7855data-man2018-05-211-1/+1
| | |
* | | fixes yet another indexing bug caused by the strict stringsAraq2018-05-211-1/+1
| | |
* | | Fix typo in "out of bounds" error messagecoffeepots2018-05-181-1/+1
| | |
* | | Allow better optimisations by removing NOINLINE from module init procsYuriy Glukhov2018-05-161-4/+4
| |/ |/|
* | documentation generator works againAndreas Rumpf2018-05-152-9/+9
| |
* | make tests green on UnixAndreas Rumpf2018-05-152-5/+6
| |
* | make tests green againAraq2018-05-149-16/+16
| |
* | fixes testament compilationAraq2018-05-1417-37/+107
|\|