Pas2js optimizations
From Lazarus wiki
Jump to navigationJump to search
Overview
This page describes existing optimizations for the pas2js transpiler as well as feature requests.
Compiler itself
The compiler was deliberately written
- in a modular fashion. Each part has its own test suite and is used by other projects.
- can be used in a library, i.e. no restart required to compile another program.
- can be used without a filesystem, i.e. in a browser
- threadsafe, i.e. the compilation can run in a thread. Compiling a program with multiple threads is planned.
- easy maintenance has higher priority than high speed and low memory