How to Match Parentheses in JavaScript without Using Regex
While writing my Lisp interpreter (for the Scheme dialect, to be precise), I decided to include support for square brackets. I did this because some of the Scheme books use them interchangeably with parentheses. But I didn't want to make the parser t...
freecodecamp.org7 min read