Files
Nim/compiler
ringabout f8f6a3c926 renderIr should print the actual return assign node (#22682)
follow up https://github.com/nim-lang/Nim/pull/10806

Eventually we need a new option to print high level IR. It's confusing
when I'm debugging the compiler without showing `return result = 1`
using the expandArc option.

For 
```nim
proc foo: int =
  return 2
```
It now outputs when expanding ARC IR
```nim
proc foo: int =
  return result = 2
```
2023-09-10 17:35:40 +02:00
..
2022-09-27 10:57:47 +02:00
2017-01-07 22:35:09 +01:00
2023-08-19 21:04:25 +02:00
2023-08-25 06:48:08 +02:00
2023-05-06 21:27:28 +02:00
2023-08-06 14:26:21 +02:00
2021-01-12 09:36:51 +01:00
2023-08-06 14:26:21 +02:00
2022-03-23 20:34:53 +01:00
2023-07-02 22:36:05 +02:00
2023-08-25 06:48:08 +02:00
2023-08-06 14:26:21 +02:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.