| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* remove some dead code and leftovers from past features
* fix yaml printing of uint64 literals
|
|
|
| |
follow up https://github.com/nim-lang/Nim/pull/22851
|
|
|
|
|
| |
* Markdown code blocks migration part 9
* fix [skip ci]
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that `--stylecheck:error` acts up when the name forwards is involved.
```nim
proc thisOne*(x: var int)
proc thisone(x: var int) = x = 1
```
It cannot understand this at all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wip; use strictdefs for compiler
* checkpoint
* complete the chores
* more fixes
* first phase cleanup
* Update compiler/bitsets.nim
* cleanup
|
|
|
|
|
| |
* remove legacy code
* fixes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactorings in preparation for ropes elimination of the C code generator; mostly the usual ': Rope' -> 'result: var Rope' rewrite
* rewrote ccgcalls.nim
* refactored ccgexprs.nim
* ccgliterals: refactoring
* refactoring: code dealing with name mangling
* refactoring: getRecordFieldsAux
* ropes are strings (insert obscene joke here)
* optimize JS code gen
* optimizations and code improvements
* more optimizations
* final cleanups
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* optimize hot spots fro orc-booting compiler
* remove GC_ref
* minor
* remove comments
* Revert "minor"
This reverts commit 4965a190a2d6457044faa1442795e55bdad57602.
* emulate cursor
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR) (#18266)
* add test case for pure enum redefinition error within enum (fixed in recent PR)
* remove code duplication
* Revert "remove code duplication" (would require bootstrap >= 1.4)
This reverts commit 3f793874c231f847ef015e37a5fd6851f85d9675.
* fixup
|
|
|
|
|
|
|
| |
* Small scope refactoring
* Add test for #10251
* Add inline where appropriate
|
|
|
|
|
|
|
|
|
| |
* [docs minor]space for code-block
* correct more errors
* to runnableExamples
* add newline
|
| |
|
| |
|
|
|
|
| |
https://github.com/nim-lang/Nim/issues/15428 (#15488)
|
|
|
|
|
| |
* add test
* add changelod entry
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
| |
|
|
|
|
| |
inheritance
|
|
|
|
| |
(#10965)
|
|
|
|
|
|
|
| |
bugfixes (#13221)
* kochdocs: use a glob instead of hardcoded list; generate docs for compiler/; bugfixes
* fixup after #13212 isRelativeTo got merged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Cleanup compiler code base
* Unify add calls
* Unify len invocations
* Unify range operators
* Fix oversight
* Remove {.procvar.} pragma
* initCandidate -> newCandidate where reasonable
* Unify safeLen calls
|
| |
|
| |
|
|
|
|
|
| |
* Remove sonsLen
* Use Indexable
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
| |
* remove immediate from tests
* remove immediate from the compiler
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* mark user defined destructors with sfOverriden to simplify the logic
* refactoring in preparation to merge liftings and generic instantiations for destructors
* ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on
* renamed 'patterns' switch to 'trmacros' as it was totally misleading before
* destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking
* test for invalid/too late destructor introductions
* liftdestructors: make code robust for nimsuggest
* --newruntime works for hello world again
* newruntime: code generation for closures
|
|
|
|
|
| |
* fixes #10807
* use nkAddr instead of nkHiddenAddr
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* improved output on debugType
* cycle detection in debug print
* debug info finally really helpful
* finally usable debug info
* quote enum values
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When a `var openArray[T]` function parameter goes trough the
`transformAddrDeref` pass we may lose the `var` specifier, leading to
nasty crashes at runtime.
|
| |
|
|\
| |
| | |
make basic debugging possible
|