Sourcify's main strength is its readable source code. This makes it easy to customize and extend. Compare the following two functions, one from
Escodegen, currently the most popular JavaScript code generator, and one from Sourcify. These functions do the same thing. They generate update expressions such as
i++. But the Sourcify logic is transparent. You just go through, step-by-step, checking conditions and writing to a string. It is so clear and uncluttered it hardly even looks like JavaScript! It is true that Sourcify's syntactic sugar comes at a slight performance cost. If speed is all you're after, I have also developed a performant version of Sourcify that is 2.5x the speed of Escodegen, as measured using
Benchmark in a V8 environment. And even the source of this performant version is fairly easy to understand, customize, and extend.