Overview of antlr4-c3
mainantlr4-c3 is a grammar-agnostic code completion engine designed for antlr-ng and ANTLR4 based parsers. It provides a common infrastructure for implementing code completion in editors by walking the internal ATN (Augmented Transition Network) to find all possible valid paths from a given caret position.
The original implementation is a TypeScript package compatible with both Node.js and browsers. Ports to Java, C#, C++, and Dart are available in the ports subfolder of the repository.