| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
variable
|
| |
|
| |
|
| |
|
|
|
|
| |
variables; os.nim does not rely on it anymore
|
|
|
|
| |
threading bugs
|
| |
|
|
|
|
|
| |
This is intended for type deduction depending on the arguments
proc foo(x: type): type(expr(x))
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This allows for various type selection algorithms to be implemented.
See tests / accept / compile / ttypeselectors.nim for examples.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Changed: The []= operator for strings and sequences is now capable of splicing
|
|
|
|
|
|
|
|
| |
Added: PNimrodNode.lineinfo for better error messages from macros
Added: seq.splice
For easier use from templates and macros, except stament now supports
the list of exception types to be supplied in nkBraket node (array literal).
|
|
|
|
| |
evaluation
|
|
|
|
|
|
|
|
|
|
|
| |
Constant expressions used in when statements and tuple indexing are properly evaluated now
Even further step tested to be OK:
```nimrod
proc semConstExpr(c: PContext, n: PNode): PNode =
result = semAndEvalConstExpr(c, n)
```
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|