LilScript - Compression-first language that shrinks JavaScript libraries

Show HN: LilScript makes JavaScript libraries smaller

LilScript - Compression-first language that shrinks JavaScript libraries

LilScript is a typed, compression-first programming language that compiles to highly optimized JavaScript, making libraries 5-15% smaller after gzip/brotli compression compared to tools like esbuild and terser. It achieves this by reshaping the program structure, eliminating unnecessary objects, and intelligently renaming variables based on the target compression algorithm. Proven to reduce VSCode's core modules by 20% and speed up the marked markdown library by 10%, LilScript works with most JS/TS libraries. Ideal for developers seeking to minimize bundle sizes and improve load times.

LilScript is a typed, compression-first language that compiles into js and sometimes into exec(will be more stable in future). The compiler mangles, reshapes the program into optimized js that happens to be 5-15% smaller (after gzip/br compression or raw) compared to the best performing JS toolchains like oxc/esbuild/terser/..