summary refs log tree commit diff stats
path: root/compiler/pipelines.nim
Commit message (Collapse)AuthorAgeFilesLines
* replaces `doAssert false` with `raiseAssert` for unreachable branches, which ↵ringabout2023-08-101-5/+3
| | | | | works better with strictdefs (#22436) replaces `doAssert false` with `raiseAssert`, which works better with strictdefs
* use strictdefs for compiler (#22365)ringabout2023-08-061-2/+9
| | | | | | | | | | | | | | | * wip; use strictdefs for compiler * checkpoint * complete the chores * more fixes * first phase cleanup * Update compiler/bitsets.nim * cleanup
* fixes #21617; createTypeBoundOps with PContext in order to instantiate ↵ringabout2023-04-071-2/+12
| | | | | | | generics (#21619) * fixes #21617; createTypeBoundOps with PContext in order to instantiate generics * keep idgen
* tuple unpacking for vars as just sugar, allowing nesting (#21563)metagn2023-03-281-1/+1
| | | | | | | | | | | | | | | | | | | * tuple unpacking for vars as just sugar, allowing nesting * set temp symbol AST * hopeful fix some issues, add test for #19364 * always use temp for consts * document, fix small issue * fix manual indentation * actually fix manual * use helper proc * don't resem temp tuple assignment
* add a prepass for codeReordering (#21513)ringabout2023-03-171-2/+32
| | | | | | | * add a prepass for codeReordering * simplify * fixes
* replaces implicit passes array registed at runtime with explicit function ↵ringabout2023-03-031-0/+254
calls; simplify compilation pipeline (#21444) * abolish using passes in the compiler; simplify compilation pipeline * duplicate code * Really cool to have the same signature... * haul * unify other backends * refactor process * introduce PipelinePhase * refactor compiler * fixes passes * fixes nimsuggest * add a sentinel * enable docs checkj * activate doc testing * clean up * complete cleanups