From 91b95e063ba2d268b355d0c81610c71f00d46739 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Sat, 18 Nov 2023 23:04:54 +0900 Subject: [PATCH 1/6] docs: include `--eval` support --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3982a5e..1059c3f 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Hooks for customizing the REPL, including transpilation and tab completion. Support users pasting TypeScript (or CoffeeScript or whatever) into the REPL and having just as good an experience as with plain JavaScript. - [ ] Support top-level `await` in the REPL API, if possible. + + - [ ] Add support for `--eval` (or `--print`) CLI flags, extending over to support runtime `eval()` as well. - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output. From 681b594a314a2f3ffd4b45542d6f1e511a02d2b3 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Sun, 19 Nov 2023 16:26:42 +0900 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1059c3f..620fb53 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Support top-level `await` in the REPL API, if possible. - - [ ] Add support for `--eval` (or `--print`) CLI flags, extending over to support runtime `eval()` as well. + - [ ] Add support for `--eval` (or `--print`) CLI flags, extending over to support eval [Worker](https://nodejs.org/api/worker_threads.html) as well. - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output. From f22a3bc6bd33b267039e8b199fcafe5028ddc412 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Mon, 20 Nov 2023 16:56:57 +0900 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 620fb53..e9fe28f 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Support top-level `await` in the REPL API, if possible. - - [ ] Add support for `--eval` (or `--print`) CLI flags, extending over to support eval [Worker](https://nodejs.org/api/worker_threads.html) as well. +- [ ] Support the `--eval` (or `--print`) CLI flags, and extending over to support eval [Worker](https://nodejs.org/api/worker_threads.html) as well ([which doesn't support ESM yet](https://github.com/nodejs/node/issues/30682)). - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output. From 51b05e57e9bdb2c79c792fe4469250b3eb0c9667 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Mon, 20 Nov 2023 21:32:00 +0900 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9fe28f..6fa7796 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Support top-level `await` in the REPL API, if possible. -- [ ] Support the `--eval` (or `--print`) CLI flags, and extending over to support eval [Worker](https://nodejs.org/api/worker_threads.html) as well ([which doesn't support ESM yet](https://github.com/nodejs/node/issues/30682)). +- [ ] Support the `--eval` CLI flag - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output. From f889eea5921df574f8c362ce57134411f5243168 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Tue, 21 Nov 2023 00:34:23 +0900 Subject: [PATCH 5/6] Update README.md Co-authored-by: Antoine du Hamel --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fa7796..3854a50 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Support top-level `await` in the REPL API, if possible. -- [ ] Support the `--eval` CLI flag +- [ ] Hook for string inputs: `--eval` CLI flag, `Worker` constructor, stdin, etc. - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output. From 1ac6813b51cf4f3685d26cb4b75576097bf94435 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Wed, 22 Nov 2023 12:44:50 +0900 Subject: [PATCH 6/6] Update README.md Co-authored-by: Geoffrey Booth --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3854a50..1457060 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Before extending into new frontiers, we need to improve the loaders API enough t - [ ] Support top-level `await` in the REPL API, if possible. -- [ ] Hook for string inputs: `--eval` CLI flag, `Worker` constructor, stdin, etc. +- [ ] Allow customizing string inputs: `--eval` CLI flag, `Worker` constructor, stdin, etc. - [ ] Hooks for customizing the stack trace (in other words, a hook version of `Error.prepareStackTrace`). This would allow transpiled languages to improve the output.