Andreas Rumpf

Results 54 issues of Andreas Rumpf

The following snippet doesn't compile, but should: ```nim type Matrix[T] = object data: T proc randMatrix*[T](m, n: int, max: T): Matrix[T] = discard proc randMatrix*[T](m, n: int, x: Slice[T]): Matrix[T]...

Generics
Regression
Templates
Overload Resolution

Refs: https://github.com/nim-lang/atlas/issues/104 I grow more and more unhappy with Atlas's solution to how it manages things and its complexity. The distinction between project and workspace is annoying in practice as...

enhancement

> Life has a melody, Gaius. A rhythm of notes that become your existence once > they're played in harmony with God's plan. Come. See the face of the shape...

Early in the frontend we should remove `nkIdentDefs` as it serves no purpose. Instead the tuple of 5 entries `(var/let/const symbol exportMarker/empty pragmas typ value)` should be used. This would...

Massive Compiler Refactoring

Refactoring: If `prc.typ.n` contains the semchecked parameters and `n.ast[paramPos]` does not, it should not contain misleading nodes. Either make it contain `nkEmpty` or find a way to make `prc.typ.n` a...

Massive Compiler Refactoring