Commit Graph

51 Commits

Author SHA1 Message Date
Aaron VonderHaar
12ff29f699 Add test harness for format tests 2022-09-15 21:02:07 -07:00
Aaron VonderHaar
9b893e31c4 format: retain comments in Src.Manager 2022-09-15 20:00:42 -07:00
Robin Heggelund Hansen
a0f300fe01 Rename gren publish to gren package validate. 2022-09-09 20:06:40 +02:00
Robin Heggelund Hansen
d749c4f527 Split package commands into seperate namespace. 2022-09-09 14:17:56 +02:00
Robin Heggelund Hansen
bb4af7a90d Create a new docs command, and remove the --docs flag from make. 2022-09-09 13:08:41 +02:00
Robin Heggelund Hansen
7fd91be8a4
Merge pull request #117 from avh4/format
Implement formatting logic (without comments/linebreak support)
2022-09-09 11:06:57 +02:00
Robin Heggelund Hansen
ecdb9cb828 Move helper into Helpers dir. 2022-09-09 10:17:29 +02:00
Robin Heggelund Hansen
21d90c4a32 Add tests/Parse.Helpers to cabal file 2022-09-09 10:09:20 +02:00
Aaron VonderHaar
643ec67b88 Merge remote-tracking branch 'origin/main' into format 2022-09-06 23:53:16 -07:00
allanderek
860ca4f049 First attempt at allowing wildcard patterns '_' to have a variable name after, whih is intended to allow documentation of the value that is being ignored: https://github.com/gren-lang/compiler/issues/111 2022-09-01 18:39:08 +00:00
Aaron VonderHaar
41090e2904 format: filter out default imports before rendering 2022-08-27 16:02:35 -07:00
Aaron VonderHaar
1973aaf803 WIP: implement formatting 2022-08-26 23:20:36 -07:00
Robin Heggelund Hansen
71af2c99b9 Add NodeJS wrapper, which executes the main function when run under Node. 2022-08-26 16:17:08 +02:00
Robin Heggelund Hansen
2976ccc311 Reduce require cabal version so that ormolu still works. 2022-08-26 09:25:25 +02:00
Robin Heggelund Hansen
94bfc15fb0 Bump cabal requirement to 3.8, make sure test and executable projects are compiled with the same source language. 2022-08-26 09:06:41 +02:00
Aaron VonderHaar
f91dd33c25 Merge remote-tracking branch 'origin/main' into avh4/format 2022-08-23 12:52:34 -07:00
Robin Heggelund Hansen
32d5d29fcb Move Platform into its own module. 2022-08-19 15:28:00 +02:00
Robin Heggelund Hansen
23f9ec2766
Merge branch 'main' into package-manager-improvements 2022-08-19 12:42:36 +02:00
Robin Heggelund Hansen
b21b5ff95e Revert "Temporarily set version to 0.1.0 to simplify testing."
This reverts commit 490aa33d8d.
2022-08-12 14:34:50 +02:00
Robin Heggelund Hansen
b4a1b66c58 Add tests for new syntax. 2022-08-05 14:50:15 +02:00
Robin Heggelund Hansen
c9c75c2d13 Talk directly with remote git repo instead of keeping a bare repo locally. 2022-08-05 10:53:16 +02:00
Robin Heggelund Hansen
b8cad6791f Don't fail build on warnings in dev mode, do that for production builds instead. 2022-08-05 09:35:54 +02:00
Robin Heggelund Hansen
490aa33d8d Temporarily set version to 0.1.0 to simplify testing. 2022-08-05 09:08:47 +02:00
Robin Heggelund Hansen
0ad3688442 Add link to bug reports site, and set default language to GHC2021 2022-08-05 08:34:44 +02:00
Robin Heggelund Hansen
029541e38f Correct some information in the cabal file. 2022-08-05 08:20:10 +02:00
Robin Heggelund Hansen
3f52ed5d03 Bump version. 2022-06-24 09:59:46 +02:00
Aaron VonderHaar
654359a70b Merge remote-tracking branch 'origin/main' into avh4/format 2022-05-21 23:28:22 -07:00
Aaron VonderHaar
809cf42da7 Limit scope of -Wno-error=unused-do-binds
This also removes -fno-unused-do-binds from modules that had it inline,
and enables -Wall for the general build.
2022-05-01 17:25:47 -07:00
Aaron VonderHaar
1c2569ac3f Backfill simple Parse.Space test 2022-05-01 15:16:01 -07:00
Aaron VonderHaar
eff5b1c6b1 Add comments to the whitespace parser type signature 2022-05-01 15:16:01 -07:00
Aaron VonderHaar
49fd254f25 Extract Gren.Format 2022-05-01 14:54:53 -07:00
Aaron VonderHaar
0414031618 Add hspec test module 2022-05-01 00:23:07 -07:00
Aaron VonderHaar
000869ab5f gren.cabal: extract gren-common 2022-05-01 00:01:23 -07:00
Robin Heggelund Hansen
2fe31f2cc1
Merge pull request #40 from gren-lang/remove-tuples
Remove tuples
2022-04-29 13:04:27 +02:00
Aaron VonderHaar
3ca9e3e58e Add gren format CLI subcommand 2022-04-24 18:34:22 -07:00
Aaron VonderHaar
215609cdc4 Expose Outline source directories 2022-04-24 18:24:15 -07:00
Robin Heggelund Hansen
8529f341d6 Minor changes to build config. 2022-04-08 08:54:59 +02:00
Robin Heggelund Hansen
2ada6783ea Remove unused dependency. 2022-02-11 15:05:44 +01:00
Robin Heggelund Hansen
9d75b0f16d Remove shader references from parser ast. 2022-02-11 14:54:33 +01:00
Robin Heggelund Hansen
abb35eb321 Remove language-gsl dependency and shader parser. 2022-02-11 14:49:24 +01:00
Robin Heggelund Hansen
aa2f7d6ca5 Set version number to 0.1.0 2022-02-11 14:41:38 +01:00
Robin Heggelund Hansen
ef89b431b8 First pass at renaming all elmy things in code. 2022-02-11 14:20:49 +01:00
Robin Heggelund Hansen
6592947fdd Use dependencies which only work on GHC 9.2.1 2022-02-11 09:10:45 +01:00
Robin Heggelund Hansen
a21afb5eaf Remove unused dependencies. 2022-02-04 14:35:52 +01:00
Robin Heggelund Hansen
0dbc6012e6 Remove reactor and related dependencies. 2022-02-04 14:23:49 +01:00
Robin Heggelund Hansen
9ae28f538d Move helper function to seperate module, as it's useful in several places. Also remove redundant imports from several modules. 2022-01-28 10:28:54 +01:00
Robin Heggelund Hansen
9c0cd44ef4 Remove Http client library. 2022-01-21 13:23:36 +01:00
Robin Heggelund Hansen
adefad452a Report Git-specific errors, and remove http errors in the progress. This commit leaves a lot of todos that need tidying up. 2022-01-21 13:16:32 +01:00
Robin Heggelund Hansen
48bc8ef1f2 Rename Stuff.hs to the more descriptibe Directories.hs 2022-01-02 14:24:21 +01:00
Robin Heggelund Hansen
aeeda475e9 Create git module as basis for further work. 2021-12-21 16:10:14 +01:00