Files
Nim/compiler
Jake Leahy 1fefb8e92a Refactor JS sourcemap generator (#21053)
* Parse the new line format

* Fix pattern

Didn't have space after the path

* Remove duplicate sources

Sources would sometimes double up with a new line at the end

* Remove unused variable

* Refactor sourcemap.nim

Removes the multiple translations needed, now goes from single high level type to the final SourceMap

Adds documentation for procs

* Line numbers line up properly now

Files aren't linking correctly though

* Files now link up correctly

Lines are sometimes off but overall seems pretty good

Just need to implement parser

* Add column info to output

Add sourceMappingURL to rope directly to prevent copy

* Properly handle columns

* Remove debug lines

* Add testcase

* Finish testcase

* Use the outdir folder instead of the folder the test is in to find the sourcemap

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
2022-12-13 12:21:51 +08:00
..
2022-12-01 14:26:59 -05:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2022-09-27 10:57:47 +02:00
2017-01-07 22:35:09 +01:00
2022-09-27 10:57:47 +02:00
2022-10-17 23:48:51 +02:00
2022-10-10 21:40:07 +02:00
2019-11-28 17:13:04 +01:00
2022-10-17 23:48:51 +02:00
2022-11-03 09:44:11 +01:00
2022-09-27 10:57:47 +02:00
2021-01-12 09:36:51 +01:00
2022-03-23 20:34:53 +01:00
2022-10-17 23:48:51 +02:00
2022-10-06 17:08:41 +02:00
2019-09-27 07:02:54 +02:00
2022-10-17 23:48:51 +02:00
2022-10-01 16:46:51 +02:00
2022-10-17 23:48:51 +02:00
2022-10-17 23:48:51 +02:00
2022-10-17 23:48:51 +02:00
2022-11-09 12:53:32 +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.