Interface FormalGrammarLoader
public interface FormalGrammarLoader
Interface for loading grammars from formal definition files (PEG, BNF, etc.).
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
-
Method Details
-
load
Loads a grammar from a file.- Parameters:
path- the file path- Returns:
- the loaded grammar
- Throws:
IOException- if the file cannot be read
-