Files
Nim/compiler
Ivan Yonchovski 17d45dfd6a Implemented basic macro expand functionality (#20579)
* Implemented level based macro expand functionality

- it can handle single macro call or expand whole function/proc/etc and it

- In addition, I have altered the parser to provide the endInfo for the node.
The usefulness of the `endInfo` is not limited to the `expandMacro`
functionality but also it is useful for `ideOutline` functionality and I have
altered the ideOutline functionality to use `endInfo`. Note `endInfo` most of
the time is lost during the AST transformation thus in `nimsuggest.nim` I am
using freshly parsed tree to get the location information.

* Make sure we stop expanding correctly

* Test CI

* Fix tv3_outline.nim

(cherry picked from commit 7031ea65cd)
2023-01-31 10:23:52 +01:00
..
2019-11-28 17:13:04 +01:00
2021-05-12 22:00:37 +02:00
2021-03-19 16:53:38 +01:00
2021-03-29 21:16:11 +02:00
2017-01-07 22:35:09 +01:00
2019-11-28 17:13:04 +01:00
2021-01-07 20:26:40 +01:00
2021-05-20 15:48:46 +02:00
2021-01-12 09:36:51 +01:00
2023-01-19 10:33:13 +01:00
2019-09-27 07:02:54 +02:00
2022-03-24 13:25:20 +01:00
2021-04-09 08:00:13 +02:00
2019-11-28 17:13:04 +01:00
2022-11-30 14:06:32 +01:00
2021-01-07 20:26:40 +01:00
2021-09-04 15:57:16 +02:00
2021-04-07 19:54:28 +02:00
2022-09-19 15:08:21 +02:00
2020-11-10 21:53:25 +01:00
2021-09-06 17:43:03 +02:00
2021-05-09 00:56:37 +02:00
2023-01-19 10:33:13 +01:00
2023-01-19 10:33:13 +01: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.