FenderLang / Fender

A functional scripting language, intended for string manipulation and general scripting on the command line
MIT License
13 stars 0 forks source link

Improve REPL prompt #71

Closed boxbeam closed 1 year ago

boxbeam commented 1 year ago

Currently it just reads from stdin like normal, we should make it able to handle arrow keys (up arrow to go to the previous prompt, down arrow to go to the next prompt, left and right to move the cursor within the prompt) and multiline statements (if there are unclosed brackets in your prompt, it should allow you to continue entering more lines until the brackets are closed).