Items tagged "staticAnalysis"
Grats: A More Pleasant Way to Build TypeScript GraphQL Servers
Bringing Implementation-First GraphQL to TypeScript via a novel static analysis approach.
![](/_next/image/?url=%2Fuploads%2F2024%2Fgrats.png&w=3840&q=75)
Interesting Bugs Caught by ESLint’s no-constant-binary-expression
I contributed a rule to ESLint that catches a surprisingly wide variety of logic bugs.
![](/_next/image/?url=%2Fuploads%2F2024%2Flogic-bug.webp&w=3840&q=75)
Bob Nystrom explains the Pratt Parser algorithm
Sharing Bob Nystrom’s excellent blog post explaining the Pratt Parser algorithm which offers a very clean way to model operator precedence
Compiling to AST
A pattern for tracking location information when compiling to a high level language
Super Tiny Type Checker
A minimal JS implementation of a type checker great for hands on learners