How to parse JSON using shift-reduce parsing approach

How to create a regex engine from scratch in Golang