Company
Date Published
Author
Dj Walker-Morgan
Word count
268
Language
English
Hacker News points
None

Summary

The MongoDB Engineering Journal has published an article on transpiling, a source-to-source compiler technology used behind the scenes of MongoDB Compass. The Compass BSON transpiler is capable of translating code from various programming languages into multiple others, including Java and C#. The process involves parsing, creating trees, transforming, processing those trees, and generating code. The underlying code is available as a standalone Node.js module, which will be further explored in an upcoming article.