rfc:readline_interactive_shell_result_function_straw_poll
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:readline_interactive_shell_result_function_straw_poll [2021/01/06 03:23] – tandre | rfc:readline_interactive_shell_result_function_straw_poll [2021/01/16 20:25] (current) – tandre | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Straw poll: Interest in configurable callback to dump results of expressions in '' | ====== Straw poll: Interest in configurable callback to dump results of expressions in '' | ||
- | * Version: 0.1 | + | * Version: 0.2 |
* Date: 2021-01-05 | * Date: 2021-01-05 | ||
* Author: Tyson Andre, < | * Author: Tyson Andre, < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 137: | Line 137: | ||
A couple of notes on this: | A couple of notes on this: | ||
- | * The readline-based shell for "php -a" | + | * The readline-based shell for '' |
- | | + | * I agree that the existing debug outputs are quite verbose, but I don't think that's a problem unique to the REPL. '' |
- | | + | * That compact representation of a Point ('' |
- | * I agree that the existing debug outputs are quite verbose, but I don't | + | * Allowing objects to overload the output seems much preferable to the formatting function having to know all the special cases, so I'm not convinced of the need to hook the entire output for the shell. |
- | | + | * I can't find any references off-hand, but I'm pretty sure popular REPLs in other languages take that approach: use existing |
- | | + | pretty-printing mechanisms from the language, which in turn can be overloaded by individual types / classes. |
- | | + | |
- | * That compact representation of a Point ('' | + | |
- | | + | |
- | | + | |
- | | + | |
- | * Allowing objects to overload the output seems much preferable to the | + | |
- | | + | |
- | | + | |
- | * I can't find any references off-hand, but I'm pretty sure popular | + | |
- | | + | |
- | pretty-printing mechanisms from the language, which in turn can be | + | |
- | | + | |
</ | </ | ||
Adding a pretty-printing alternative to '' | Adding a pretty-printing alternative to '' | ||
- | ( e.g. '' | + | ( e.g. '' |
==== Exposing the ability to handle input and recover from fatal errors in interactive shells ==== | ==== Exposing the ability to handle input and recover from fatal errors in interactive shells ==== | ||
Line 208: | Line 196: | ||
===== Vote ===== | ===== Vote ===== | ||
+ | |||
+ | Voting started on 2021-01-07 and ends 2021-01-14 | ||
**This is a multiple choice poll,** fill out any acceptable options. | **This is a multiple choice poll,** fill out any acceptable options. | ||
Line 220: | Line 210: | ||
</ | </ | ||
- | What tools do you currently use? | + | ==== What tools do you currently use? ==== |
+ | |||
+ | **Clicking vote will only submit an answer for the question(form) that you voted on. To answer both questions, you must click vote for one question, choose the answer for the other question, then vote for the other question.** | ||
<doodle title=" | <doodle title=" | ||
Line 238: | Line 230: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | |||
+ | 0.2 Visually separate the forms |
rfc/readline_interactive_shell_result_function_straw_poll.1609903383.txt.gz · Last modified: 2021/01/06 03:23 by tandre