Robin Heggelund Hansen
|
8b5832b096
|
Implement the compiler flag to enable sourcemap generation.
|
2023-06-05 22:47:02 +02:00 |
|
Robin Heggelund Hansen
|
410e7c68c2
|
Fix problem with nested modules.
|
2023-06-05 22:24:07 +02:00 |
|
Robin Heggelund Hansen
|
a10b7fe84b
|
Add all sources to sourcemap, not just the project's own sources.
|
2023-06-04 12:48:50 +02:00 |
|
Robin Heggelund Hansen
|
8dbf3302fc
|
Remove trailing white space.
|
2023-05-26 22:21:20 +02:00 |
|
Robin Heggelund Hansen
|
b4a663282f
|
All source positions are 0-based when in source maps.
|
2023-05-26 22:20:45 +02:00 |
|
Robin Heggelund Hansen
|
598bc9002d
|
Encode mappings section according to spec.
|
2023-05-26 22:06:39 +02:00 |
|
Robin Heggelund Hansen
|
83b493646d
|
Write mapping numbers as deltas from previous segment.
|
2023-05-26 15:19:03 +02:00 |
|
Robin Heggelund Hansen
|
9c80b25e5c
|
Output mappings in correct order.
|
2023-05-26 09:13:01 +02:00 |
|
Robin Heggelund Hansen
|
1ac6746a6f
|
Fix issue with large negative numbers.
|
2023-05-24 23:18:05 +02:00 |
|
Robin Heggelund Hansen
|
24c5f86381
|
Cosmetic changes.
|
2023-05-24 23:09:28 +02:00 |
|
Robin Heggelund Hansen
|
5f9c114b4b
|
First attempt at implementing VLQ encoding, fails for large negative numbers when Int > 32 bits.
|
2023-05-24 23:08:52 +02:00 |
|
Robin Heggelund Hansen
|
56dc275d6f
|
Setup test suite for encoding VLQs
|
2023-05-24 15:31:04 +02:00 |
|
Robin Heggelund Hansen
|
f6853ededa
|
Insert project sources into source map.
|
2023-05-23 18:42:18 +02:00 |
|
Robin Heggelund Hansen
|
75ddba194d
|
Fix compiler warning.
|
2023-05-22 22:36:28 +02:00 |
|
Robin Heggelund Hansen
|
9cf0e214b5
|
Add more references to source maps, and format names to include source module, when available.
|
2023-05-22 22:35:02 +02:00 |
|
Robin Heggelund Hansen
|
3c4439511d
|
Add function calls to source maps.
|
2023-05-22 22:20:11 +02:00 |
|
Robin Heggelund Hansen
|
b1518c89fc
|
Sort mappings by line.
|
2023-05-22 21:15:27 +02:00 |
|
Robin Heggelund Hansen
|
3a71b9beab
|
Set correct source module of tracked refs.
|
2023-05-15 22:58:59 +02:00 |
|
Robin Heggelund Hansen
|
831995bdd4
|
Fix line numbers being off by 2-3 lines.
|
2023-05-15 22:24:55 +02:00 |
|
Robin Heggelund Hansen
|
42d313426a
|
Fix bad line counts when kernel code is involved.
|
2023-05-14 11:27:44 +02:00 |
|
Robin Heggelund Hansen
|
a0273c8e92
|
Fix compilation of kernel code.
|
2023-05-14 09:34:48 +02:00 |
|
Robin Heggelund Hansen
|
d7c770ab91
|
Fill sources and names fields of source map.
|
2023-05-13 19:01:04 +02:00 |
|
Robin Heggelund Hansen
|
67302dc0d5
|
Track global variables when generating sourcemaps.
|
2023-05-13 14:17:46 +02:00 |
|
Robin Heggelund Hansen
|
c824975eb1
|
Correctly generate the source map object (without contents)
|
2023-05-12 23:30:00 +02:00 |
|
Robin Heggelund Hansen
|
ceddabc562
|
Fix code generation bugs from re-write.
|
2023-05-02 22:25:07 +02:00 |
|
Robin Heggelund Hansen
|
edf50aba98
|
Include inlined source maps when compiling projects. The actual source map generation is not done.
|
2023-05-02 22:12:47 +02:00 |
|
Robin Heggelund Hansen
|
6076e115e0
|
Remove unused data type.
|
2023-05-02 21:10:46 +02:00 |
|
Robin Heggelund Hansen
|
3773f9dd2c
|
Finish re-write of Generate/JavaScript Builder
|
2023-04-28 11:04:04 +02:00 |
|
Robin Heggelund Hansen
|
aa0cda3358
|
Finish re-write of JavaScript/Builder.hs
|
2023-04-19 22:06:44 +02:00 |
|
Robin Heggelund Hansen
|
e665e52136
|
Merge pull request #204 from avh4/upgrade-prettyprint
Upgrade prettyprint
|
2023-04-16 12:58:52 +02:00 |
|
Aaron VonderHaar
|
b0ce27ac42
|
Replace custom helpers with functions added in prettyprint-avh4-0.1.1.0
|
2023-04-14 23:35:05 -07:00 |
|
Aaron VonderHaar
|
5b86af4d56
|
Upgrade prettyprint-avh4
|
2023-04-14 23:23:26 -07:00 |
|
Aaron VonderHaar
|
a3d80503e5
|
Show call site locations in test failure messages
|
2023-04-14 23:23:21 -07:00 |
|
Robin Heggelund Hansen
|
00f50eb3e3
|
Merge pull request #202 from avh4/extract-avh4-prettyprint
Use published prettyprint-avh4
|
2023-03-30 08:08:53 +02:00 |
|
Aaron VonderHaar
|
45d6c48636
|
Use published prettyprint-avh4
|
2023-03-29 19:01:50 -07:00 |
|
Robin Heggelund Hansen
|
c52ddf78ba
|
Finish re-write of fromExpr
|
2023-03-28 21:12:54 +02:00 |
|
Robin Heggelund Hansen
|
dcf5369502
|
Began re-write of JavaScript/Builder.hs to keep track of positions in generated code.
|
2023-03-27 21:38:01 +02:00 |
|
Robin Heggelund Hansen
|
849c3a4fec
|
Pass around the current line.
|
2023-03-27 19:49:20 +02:00 |
|
Robin Heggelund Hansen
|
b92c9c0713
|
Prepare generator for returning source maps.
|
2023-03-23 20:01:16 +01:00 |
|
Robin Heggelund Hansen
|
f4265b6d62
|
Revert accidental commit
This reverts commit 9f6bc8b7ec .
|
2023-03-20 22:15:46 +01:00 |
|
Robin Heggelund Hansen
|
9f6bc8b7ec
|
Track position of Var nodes.
|
2023-03-20 22:05:08 +01:00 |
|
Robin Heggelund Hansen
|
abc665714b
|
Track position of Var nodes.
|
2023-03-20 21:43:24 +01:00 |
|
Robin Heggelund Hansen
|
64ff6031e4
|
Keep position of primitive types in optimized ast.
|
2023-03-20 21:22:27 +01:00 |
|
Robin Heggelund Hansen
|
a1edf1fcaa
|
Merge pull request #200 from gren-lang/refuse-to-compile-transient-local-deps
Refuse to compile a dependency with local dependencies.
|
2023-03-13 21:00:40 +01:00 |
|
Robin Heggelund Hansen
|
3e19bb3ac9
|
Refuse to compile a dependency with local dependencies.
|
2023-03-13 20:52:25 +01:00 |
|
Robin Heggelund Hansen
|
b8c2fec5ab
|
Merge pull request #199 from gren-lang/detect-bad-package-name-for-local-dep
Detect bad package name for local dep
|
2023-03-13 20:33:01 +01:00 |
|
Robin Heggelund Hansen
|
56f0bc54be
|
Improve error message when there's something wrong with a local dependency.
|
2023-03-13 20:23:24 +01:00 |
|
Robin Heggelund Hansen
|
8aca973c3f
|
Refuse to compile a local dependency when the package names doesn't match
|
2023-03-13 19:13:06 +01:00 |
|
Robin Heggelund Hansen
|
63d9a6f720
|
Merge pull request #197 from gren-lang/fix-use-of-cache-with-local-dep
Ignore package cache when verifying local dependency.
|
2023-03-06 22:51:52 +01:00 |
|
Robin Heggelund Hansen
|
91191fea2b
|
Merge pull request #196 from gren-lang/improve-error-message-for-kernel-pkg-with-unsigned-commit
Improve error message for kernel pkg with unsigned commit
|
2023-03-06 22:41:11 +01:00 |
|