Commit Graph

6627 Commits

Author SHA1 Message Date
Robin Heggelund Hansen
a279be3627
Merge pull request #263 from gren-lang/cli-rewrite
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
Gren-in-Gren: CLI rewrite
2024-09-27 08:53:22 +02:00
Robin Heggelund Hansen
9ce4f08d5d
Revert debug change. 2024-09-26 23:07:25 +02:00
Robin Heggelund Hansen
6f773a7e2b
Prettify 2024-09-26 22:42:42 +02:00
Robin Heggelund Hansen
fef349580e
Update JS api to work with current project setup. 2024-09-26 22:41:12 +02:00
Robin Heggelund Hansen
01faef5f7e
Cleanup make-static implementation. 2024-09-26 22:23:36 +02:00
Robin Heggelund Hansen
98a22798df
Add prettier. 2024-09-26 10:24:33 +02:00
Robin Heggelund Hansen
69822c704a
Remove optional or redundant options in sea config. 2024-09-26 10:20:01 +02:00
Robin Heggelund Hansen
bd374ce87b
Proof of concept static build with snapshot. 2024-09-25 22:44:13 +02:00
Robin Heggelund Hansen
a042891965
Rename app.js => cli.js 2024-09-25 20:19:32 +02:00
Robin Heggelund Hansen
fad48f2003
Implement proof-of-concept make-static. 2024-09-24 22:53:32 +02:00
Robin Heggelund Hansen
da614f0c2b
Install postject dependency. 2024-09-23 23:06:46 +02:00
Robin Heggelund Hansen
58b1b6098a
Add make-static command for creating SEAs. 2024-09-23 23:03:36 +02:00
Robin Heggelund Hansen
a505219093
Re-structure js package. 2024-09-23 22:37:09 +02:00
Robin Heggelund Hansen
e71ffc30dc
Use argumentErrorPrettified to report proper error messages with bad arguments. 2024-09-21 23:25:16 +02:00
Robin Heggelund Hansen
95e68445a0
Use flagErrorPrettified to report proper error messages on flags. And respect NO_COLOR. 2024-09-20 23:05:19 +02:00
Robin Heggelund Hansen
7e99412f94
Add proper error messages for gren docs command. 2024-09-20 22:30:41 +02:00
Robin Heggelund Hansen
66847a012c
Implemented diff command. All commands are now implemented. 2024-09-17 07:26:37 +02:00
Robin Heggelund Hansen
70fe3cb003
All commands implemented, except for Diff. 2024-09-17 07:18:09 +02:00
Robin Heggelund Hansen
3c9fafc091
Implement make, docs, package install and package uninstall commands. 2024-09-16 23:05:45 +02:00
Robin Heggelund Hansen
0997beed64
Implement Init and Repl commands. 2024-09-15 22:51:27 +02:00
Robin Heggelund Hansen
c0ee02e536
Decode all commands on Haskell side. 2024-09-13 23:02:59 +02:00
Robin Heggelund Hansen
bc79303950
Begin work on decoding json from gren compiler in haskell compiler. 2024-09-12 22:24:26 +02:00
Robin Heggelund Hansen
7941fddaca
Remove haskell CLI parser. 2024-09-11 07:32:42 +02:00
Robin Heggelund Hansen
7850e15d37
Send command as json to haskell compiler. 2024-09-10 21:29:43 +02:00
Robin Heggelund Hansen
004223cc52
Refactor. 2024-09-10 16:06:01 +02:00
Robin Heggelund Hansen
b63558f8b0
Properly parse new package commands. 2024-09-09 22:07:59 +02:00
Robin Heggelund Hansen
85663c65be
Add package prefix with commands. 2024-09-01 22:57:43 +02:00
Robin Heggelund Hansen
818e7a5012
Match latest changes in compiler-node. 2024-09-01 15:43:50 +02:00
Robin Heggelund Hansen
acda43a695
Merge pull request #262 from mbartlett21/sourcemaps-submodules
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
Make sourcemap generation work for submodules on Windows
2024-08-30 06:45:38 +02:00
mbartlett21
b887523da9 Make sourcemap generation work for submodules on Windows 2024-08-30 11:31:39 +10:00
Robin Heggelund Hansen
cbeddc2f52
Define most regular commands. 2024-08-29 06:16:39 +02:00
Robin Heggelund Hansen
360ceef378
Change sponsor link.
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
2024-08-28 22:18:02 +02:00
Robin Heggelund Hansen
3d055f4a0b
Spec up most of the CLI commands. 2024-08-27 17:34:02 +02:00
Robin Heggelund Hansen
7042b76997
Make use of latest features in CLI.PrettyPrinter to get same results as native binary. 2024-08-27 12:17:44 +02:00
Robin Heggelund Hansen
d0bc81c690
Update to latest coloring API in compiler-node. 2024-08-25 22:20:39 +02:00
Robin Heggelund Hansen
6f85d02169
Add compiler-node as local dependency. 2024-08-25 22:17:06 +02:00
Robin Heggelund Hansen
fb9ce8e23d
Add simple command for testing the top-level help text. 2024-08-25 22:16:10 +02:00
Robin Heggelund Hansen
760f3c5bad
Use CLI.Parser 2024-08-25 22:16:10 +02:00
Robin Heggelund Hansen
7aadd67db9
Bump version of gren compiler.
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
2024-08-25 22:16:00 +02:00
Robin Heggelund Hansen
0efe25e3f4
Prep new release. 2024-08-25 20:31:37 +02:00
Robin Heggelund Hansen
0ce551946d
Add Elm to list of languages in ML-family. 2024-08-25 20:15:33 +02:00
Robin Heggelund Hansen
384add269f
Bump versions.
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
2024-08-17 07:03:34 +02:00
Robin Heggelund Hansen
7a04139f4f
Download correct mac binary, now that we're building for the m1 architecture. 2024-08-17 07:02:40 +02:00
Robin Heggelund Hansen
6ecf8f16f1
Fix Discord links.
Some checks are pending
Build / validate-code-formatting (push) Waiting to run
Build / linux (push) Blocked by required conditions
Build / mac (push) Blocked by required conditions
Build / mac_m1 (push) Blocked by required conditions
Build / windows (push) Blocked by required conditions
2024-08-16 12:12:35 +02:00
Justin Blake
1e04313af2
Merge pull request #258 from blaix/check-failed-compiler-run
Some checks are pending
Build / validate-code-formatting (push) Waiting to run
Build / linux (push) Blocked by required conditions
Build / mac (push) Blocked by required conditions
Build / mac_m1 (push) Blocked by required conditions
Build / windows (push) Blocked by required conditions
Pass through compiler exit code
2024-08-15 21:29:23 -04:00
Robin Heggelund Hansen
3931fb376d
Merge pull request #259 from gren-lang/mac-m1-build
Some checks failed
Build / validate-code-formatting (push) Has been cancelled
Build / linux (push) Has been cancelled
Build / mac (push) Has been cancelled
Build / mac_m1 (push) Has been cancelled
Build / windows (push) Has been cancelled
Build Mac M1 binary
2024-08-13 22:01:17 +02:00
Robin Heggelund Hansen
52eca9b227
Add ghcup cache to mac x86 build. 2024-08-13 21:53:10 +02:00
Robin Heggelund Hansen
080c8ed98f
Bump versions of github action plugins. 2024-08-13 21:45:07 +02:00
Robin Heggelund Hansen
21aa633fe6
Minor tweaks. 2024-08-13 21:41:25 +02:00
Robin Heggelund Hansen
194da7e682
Use latest checkout plugin. 2024-08-13 21:35:40 +02:00