Robin Heggelund Hansen
c59570952e
Simplify position check.
2024-08-07 10:58:00 +02:00
Robin Heggelund Hansen
ed647c27b4
Run prettier.
2024-08-07 08:07:26 +02:00
Robin Heggelund Hansen
251e58d15c
Add position of anonymous functions in source maps.
2024-08-06 11:31:52 +02:00
Robin Heggelund Hansen
7fecbc645d
Fix regression in optimizing string appends.
2024-07-02 09:07:48 +02:00
Robin Heggelund Hansen
54ad7449b0
Fix direct call optimization for mutually recursive functions.
2024-07-02 08:57:27 +02:00
Robin Heggelund Hansen
efa267151e
Add missing branches to isLiteral check, fixing an optimization that has been broken since the inclusion of source maps.
2024-07-02 08:29:31 +02:00
Robin Heggelund Hansen
9f75298eed
Derive Show on Opt.Expr
2024-07-02 08:21:26 +02:00
Robin Heggelund Hansen
6e7507c550
Rever test changes, and compile gren-in-gren with latest compiler.
2024-07-01 23:10:47 +02:00
Robin Heggelund Hansen
5b523cb3c1
Fix minor codegen issues.
2024-07-01 22:45:12 +02:00
Robin Heggelund Hansen
4c6f7abdbd
Add sourcemaps for Debug functions.
2024-07-01 22:30:26 +02:00
Robin Heggelund Hansen
a63730eb24
Optimize direct calls for non-tail recursive functions.
2024-07-01 19:09:25 +02:00
Robin Heggelund Hansen
2baf2d5819
Add sourcemaps for recursive functions.
2024-07-01 18:55:35 +02:00
Robin Heggelund Hansen
52da4e373d
Code formatting.
2024-06-30 23:08:04 +02:00
Robin Heggelund Hansen
b9eaeb1c73
Make direct function calls to recursive functions.
2024-06-30 23:05:59 +02:00
Robin Heggelund Hansen
a6ebb96177
Fix source mapping.
2024-06-30 22:26:11 +02:00
Robin Heggelund Hansen
c38f92ce34
Remove unused argument.
2024-06-30 21:31:18 +02:00
Robin Heggelund Hansen
6b90363af2
Update compiler build, makes it easier to see new diffs.
2024-06-30 21:19:30 +02:00
Robin Heggelund Hansen
d47325d832
Make direct functin calls to custom type constructors.
2024-06-30 21:18:11 +02:00
Robin Heggelund Hansen
1c3f0d5041
Implement function definitions correctly.
2024-06-30 20:32:46 +02:00
Robin Heggelund Hansen
87cdb6f5c9
On to something.
2024-06-27 23:05:47 +02:00
Robin Heggelund Hansen
3c44ac715b
Generate direct calls to global functions.
2024-06-27 22:17:10 +02:00
Robin Heggelund Hansen
94ae2803f7
Compile gren code with --optimize
2024-06-25 21:43:54 +02:00
Robin Heggelund Hansen
0c9352a645
Bump version to 0.4.4
2024-06-25 21:42:08 +02:00
Robin Heggelund Hansen
ffa9ef7f6a
Use new ChildProcess.spawn function in gren-lang/node to fix interactivity issues.
2024-06-25 21:38:17 +02:00
Robin Heggelund Hansen
aec63fa029
Fix link to Discord.
2024-06-25 21:21:21 +02:00
Robin Heggelund Hansen
397747d156
Bump version to 0.4.3 in package.json
2024-06-22 22:17:09 +02:00
Robin Heggelund Hansen
18e8c31e19
Formatting.
2024-06-22 22:06:09 +02:00
Robin Heggelund Hansen
4f09526077
Bump version to 0.4.3
2024-06-22 22:04:45 +02:00
Robin Heggelund Hansen
82345d88d5
Don't prompt user if terminal is non-interactive.
2024-06-22 22:03:00 +02:00
Robin Heggelund Hansen
51980e2de9
Add script for quickly building a version of the haskell compiler.
2024-06-22 22:02:32 +02:00
Robin Heggelund Hansen
04f5a26542
Bump version to 0.4.2
2024-06-22 07:22:02 +02:00
Robin Heggelund Hansen
53d8088da2
Compile with latest gren-lang/node, which contains several bugfixes.
2024-06-22 07:19:39 +02:00
Robin Heggelund Hansen
63a6b08415
Bump version to 0.4.1
2024-06-21 23:06:46 +02:00
Robin Heggelund Hansen
12bc0e68c0
Fix ChildProcess output.
2024-06-21 23:03:36 +02:00
Robin Heggelund Hansen
30c862baaf
Merge pull request #249 from pushfoo/Replace-remaining-Zulip-references
...
Replace help text Zulip references with Discord
2024-06-20 19:23:47 +02:00
Robin Heggelund Hansen
bd757da159
Fix double word.
2024-06-20 19:16:15 +02:00
pushfoo
f8e86a2620
Make Discord server link more consistent with other doc
2024-06-20 10:02:27 -04:00
pushfoo
0e6cd41b8b
Fix removed leading slash + space in Haskell multi-line string
2024-06-20 10:01:32 -04:00
pushfoo
9ea24a0e9b
Replace all other Zulip references throughout help text
...
* Replace Zulip with Discord in hints/port-modules.md
* Replace Zulip with Discord in terminal/src/Main.hs
* Homogenize line length in terminal/src/Main.hs help nudge text
2024-06-20 09:47:09 -04:00
Robin Heggelund Hansen
497c4ffb50
Merge pull request #248 from pushfoo/Replace_Zulip-with-Discord
...
Replace Zulip in CONTRIBUTING.md with Discord
2024-06-20 14:50:28 +02:00
pushfoo
d9b7af644d
Replace Zulip in CONTRIBUTING.md with Discord
...
* Move Zulip to the bottom of the file as a historic location
* Add Discord Join instructions with links to channels
* Add cross-reference to Discord's limited forum channel documentation
* Various phrasing tweaks
2024-06-20 08:39:48 -04:00
Robin Heggelund Hansen
1064270e63
Crash node applications if wrong node version is detected.
2024-06-19 23:35:40 +02:00
Robin Heggelund Hansen
be10d8ab37
package validate now verifies that a project doesn't contain unsigned kernel code.
2024-06-19 23:26:06 +02:00
Robin Heggelund Hansen
eff1bf76d7
Mark index.js as executable
2024-06-19 18:34:38 +02:00
Robin Heggelund Hansen
9547556693
Compile gren wrapper.
2024-06-17 20:53:30 +02:00
Robin Heggelund Hansen
6c295daca0
Bump version number.
2024-06-17 20:47:37 +02:00
Robin Heggelund Hansen
d6f87ecc3d
Merge pull request #246 from gren-lang/gren-in-gren-npm-wrapper
...
Gren-in-Gren npm wrapper
2024-06-15 22:22:34 +02:00
Robin Heggelund Hansen
20ba7b6c44
Run ormolu
2024-06-14 23:09:19 +02:00
Robin Heggelund Hansen
8170550967
Fix color output when run through gren-in-gren. Also add option to override haskell binary called from wrapper.
2024-06-14 22:56:39 +02:00
Robin Heggelund Hansen
50585fa0da
Only print stderr on error, to avoid error messages being written twice.
2024-06-10 21:35:47 +02:00