Static Analysis of APL in APL
summary
A proof‑of‑concept static analyser written in APL consumes a Co-dfns AST and evaluates a rule database in APL to emit issues. Work started about 2½ months ago and focuses first on reliably detecting embedded secrets and common uses of execute, plus basic linting and handling dynamically generated code via snapshots. It accepts that full static parsing of APL is impossible, so the tool is incremental, not yet production ready, and aims for usable results in a few months.
AI-written summary · about
chapters (10)
- 0:00What tools for APL development would make my life easier?
- 1:10Static analysis can provide confidence about bugs, policy and security
- 3:03A static analyser in brief
- 3:46What makes static analysis difficult in APL?
- 7:50Initial targets for incremental development
- 10:30Architecture of a static analyser
- 11:40Open questions about usability
- 14:54Development path
- 16:00How should we handle dynamic code?
- 17:11Enforcing constraints and limiting behaviour in code bases
