Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Implement batch mode of the REPL #225

Closed
omasanori opened this issue Sep 30, 2014 · 1 comment
Closed

Implement batch mode of the REPL #225

omasanori opened this issue Sep 30, 2014 · 1 comment

Comments

@omasanori
Copy link
Contributor

Batch mode reads code from standard input as the current interactive REPL does, but does not print prompts. It is useful to execute an expression passed from a pipe, or to input code using here-documents.

When standard input is terminal (you can detect it with isatty), interactive mode should be selected. Otherwise, batch mode seems better. It is great if command line options to override the default are provided.

@KeenS KeenS mentioned this issue Sep 30, 2014
@KeenS
Copy link
Member

KeenS commented Oct 13, 2014

Done in #226

@KeenS KeenS closed this as completed Oct 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants