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

Fix REPL validator #110

Open boxbeam opened 1 year ago

boxbeam commented 1 year ago

The REPL validator (which determines when hitting enter will start typing a new line of code instead of evaluating it) was using the default option from reedline, which did not take into account escape characters or single quotes within double quotes. I have written a new validator which correctly accounts for these things.