Code conveying the basic concepts.
Top Down Operator Precedence / Pratt Parsing
Article on Top Down Operator Precedence (aka Pratt Parsing), a parsing technique that does not rely on a grammar. Example implementation in JS.
Sean Barrett's Imgui Example Implementation
Good example code for a basic imgui