Files
Nim/compiler
Saem Ghani 72b89eff82 semLambda removed, semProcAux reworked (#17379)
* simplified proc-like name ident to symbol code

* wip - reworking generic param sem

* wip - closer to removing nkEmpty generic params

* it's hacky but tests pass

* slowly tweaking semProcAux to take on semLambda

* fix pragma superset check proto vs current

* Set the symbol owner earlier

* partial progress reworking proto

found bug where default values between forward and impl lead to overload
resolution issues.

* simplified pragma handling and callConv checks

Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>

* partially working

* cgexprs issue

* It works!

* comment clean-up

* clean-up asserts, comments, and other bits

* add isGenericParams, inline isGeneric queries

* seeing if this is sufficiently consistent
* can use this approach or continue it in a further PR

* commentary about nullary generics and clean-ups

* fixed a mistake in PNode isGenericRoutine

* Some small cleanups

* Small cleanup

* for func lambdas ensure we use lambda pragmas

* add some basic compileTime func tests

* [ci skip] remove comments

Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>
Co-authored-by: Clyybber <darkmine956@gmail.com>
2021-03-17 19:51:50 +01:00
..
2021-01-07 20:26:40 +01:00
2019-11-28 17:13:04 +01:00
2021-02-24 17:43:13 +01:00
2021-03-11 14:03:25 +01:00
2020-05-19 21:42:53 +02:00
2021-01-23 08:06:15 +01:00
2021-01-23 08:06:15 +01:00
2017-01-07 22:35:09 +01:00
2020-08-10 12:57:32 +02:00
2021-01-07 20:26:40 +01:00
2021-02-17 15:48:17 +01:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2021-02-17 19:26:08 +01:00
2021-01-07 20:26:40 +01:00
2021-02-02 19:24:55 +01:00
2019-11-28 17:13:04 +01:00
2021-02-18 12:15:21 +01:00
2021-01-12 09:36:51 +01:00
2021-02-02 19:24:55 +01:00
2020-08-28 22:18:09 +02:00
2021-02-02 19:24:55 +01:00
2021-02-02 19:24:55 +01:00
2021-02-23 13:31:53 +01:00
2019-09-27 07:02:54 +02:00
2021-01-07 20:26:40 +01:00
2021-01-12 09:36:51 +01:00
2021-03-11 14:03:25 +01:00
2021-01-11 11:39:38 +01:00
2019-11-28 17:13:04 +01:00
2021-01-07 20:26:40 +01:00
2021-01-14 17:30:41 +01:00
2021-01-07 20:26:40 +01:00
2021-01-07 20:26:40 +01:00
2020-11-05 18:55:52 +01:00
2020-08-28 22:18:09 +02:00
2020-11-10 21:53:25 +01:00
2020-08-28 22:18:09 +02:00
2021-03-12 08:05:54 +01:00
2021-01-12 09:36:51 +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.