This article is a kind of helper for people, who want to write their own parser, but don’t know how to start. I didn’t cover here all requirements to Compass compiler to simplify the problem. In MongoDB we needed any language to any language transformation with BSON documents support. Also we needed to use this parser as plugin for different our products written in JavaScript. Existing parsers didn’t work for us.

Senior Software Engineer at MongoDB

Love podcasts or audiobooks? Learn on the go with our new app.