Charles-Johnson / zia_programming

A language that can program itself
https://zia-lang.org
GNU General Public License v3.0
3 stars 0 forks source link

Alternative to REPL for UI #61

Open Charles-Johnson opened 3 years ago

Charles-Johnson commented 3 years ago

Instead of having a traditional read-evaluate-print-loop for interpreter UI, a possibly more conversational experience could be implemented that also would allow for asynchronous and multiple responses.

Currently the UI for the website and izia expects the user to either

This requires the user to either wait for the evaluation before entering a new command or have to insert the evaluation result in the right position in the history. This is because the evaluation result only makes sense when paired with the input.

Instead the UI could follow an alternative schema

Charles-Johnson commented 3 years ago

blocked by #60

Charles-Johnson commented 6 months ago

I think that an unknown concept will ruin everything as it's basically reinventing NULL, the billion dollar mistake.

The response to expression ? should be expression ? if the reduction is unknown

Charles-Johnson commented 6 months ago

This might conflict with ideas in #42 which references let in expressions and need to think how the equivalent of forget a would be handled