This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
Parsing. It's done by the org.eolang.parser.EoSyntax class in the eo-parser module.
EoSyntax is in eo-parser
HoldsPR #9970 · Nov 17
The class org.eolang.parser.Pipeline is responsible for making XSLT transformations and the list of them is stored in the org.eolang.parser.Canonical class.
Pipeline depends on Canonical
HoldsPR #9970 · Nov 17
Compilation. The class org.eolang.maven.MjTranspile in the eo-maven-plugin module is responsible for taking parsed and optimized XMIRs and then transforming the XML document into a collection of .java files.
MjTranspile is in eo-maven-plugin
HoldsPR #9970 · Nov 17
The public entry point is EoSyntax:
EoSyntax is exported
HoldsPR #9969 · Nov 17
The runtime collaboration is small — five objects, all package-private: Class Eo, Role Top-level driver Splits input into Span s (one per source line), classifies each via Eo.classify , dispatches to the chosen Line Also runs end-of-file checks (text-block closure, dangling comments) and the close-time hooks for popping levels
Eo is internal to its module
HoldsPR #9969 · Nov 17
Class Eo, Role Top-level driver Splits input into Span s (one per source line), classifies each via Eo.classify , dispatches to the chosen Line Also runs end-of-file checks (text-block closure, dangling comments) and the close-time hooks for popping levels
3 rules from this sentence
Eo depends on Span
HoldsPR #9969 · Nov 17
Eo depends on Line
HoldsPR #9969 · Nov 17
Eo has classify
checks “classifies each via Eo.classify”
HoldsPR #9969 · Nov 17
Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock — one class per spec line shape Each one is the authoritative parser for its shape classifier-level checks (e.g Eo.onlyPhi ) are shape detectors only
16 rules from this sentence
Line depends on Stack
checks “Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock”
HoldsPR #9969 · Nov 17
Line depends on Globals
checks “Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock”
HoldsPR #9969 · Nov 17
Line depends on Emit
checks “Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock”
HoldsPR #9969 · Nov 17
LnApplication, LnFormation, LnReversed and 7 more implement Linechecks “Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock”
Holdsall 10PR #9969 · Nov 17
Line is a contract
checks “Class Line (interface)”
HoldsPR #9969 · Nov 17
Line has an into method
checks “Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock”
HoldsPR #9969 · Nov 17
Eo has onlyPhi
checks “Eo.onlyPhi”
HoldsPR #9969 · Nov 17
The runtime collaboration is small — five objects, all package-private: … Class Line (interface), Role A single line's behaviour void into(Stack, Globals, Emit) Implemented by LnApplication , LnFormation , LnReversed , LnOnlyPhi , LnCompactTuple , LnMethod , LnMeta , LnComment , LnBlank , LnTextBlock — one class per spec line shape Each one is the authoritative parser for its shape classifier-level checks (e.g Eo.onlyPhi ) are shape detectors only
Line is internal to its module
HoldsPR #9969 · Nov 17
Class Stack + Level, Role The indent stack of §5 in the spec One Level per occupied indent column, carrying kind , openness , named , child counters, and per-kind state (compact-tuple N , bare-reversed receiver flag, etc.) Stack.popDeeperThan(indent) fires close-time hooks ( Eo.checkOnClose ) so each level reports its own R-5.3 violation
3 rules from this sentence
Stack depends on Level
HoldsPR #9969 · Nov 17
Stack has a popDeeperThan method
checks “Stack.popDeeperThan(indent)”
HoldsPR #9969 · Nov 17
Eo has checkOnClose
checks “Eo.checkOnClose”
HoldsPR #9969 · Nov 17
The runtime collaboration is small — five objects, all package-private: … Class Stack + Level, Role The indent stack of §5 in the spec One Level per occupied indent column, carrying kind , openness , named , child counters, and per-kind state (compact-tuple N , bare-reversed receiver flag, etc.) Stack.popDeeperThan(indent) fires close-time hooks ( Eo.checkOnClose ) so each level reports its own R-5.3 violation
Stack is internal to its module
HoldsPR #9969 · Nov 17
The runtime collaboration is small — five objects, all package-private: … Class Globals, Role Cross-line transient state pending comment block, in-flight text-block body, blank-line counter, "first object emitted" flag Lets Ln classes communicate without threading parameters through the line dispatch
Globals is internal to its module
HoldsPR #9969 · Nov 17
The runtime collaboration is small — five objects, all package-private: … Class Emit, Role Xembly- Directives sink Line shapes call object , voidParam , method , star , close , set , slot against this surface Emit also exposes savepoint / rollback so a ParseError thrown inside a single line rolls back just that line's directives, allowing recovery and continued parsing
Emit is internal to its module
HoldsPR #9969 · Nov 17
Class Emit, Role Xembly- Directives sink Line shapes call object , voidParam , method , star , close , set , slot against this surface Emit also exposes savepoint / rollback so a ParseError thrown inside a single line rolls back just that line's directives, allowing recovery and continued parsing
9 rules from this sentence
Emit has an object method
HoldsPR #9969 · Nov 17
Emit has a voidParam method
HoldsPR #9969 · Nov 17
Emit has a method method
HoldsPR #9969 · Nov 17
Emit has a star method
HoldsPR #9969 · Nov 17
Emit has a close method
HoldsPR #9969 · Nov 17
Emit has a set method
HoldsPR #9969 · Nov 17
Emit has a slot method
HoldsPR #9969 · Nov 17
Emit has a savepoint method
HoldsPR #9969 · Nov 17
Emit has a rollback method
HoldsPR #9969 · Nov 17
Package-private surface. Only EoSyntax, Canonical, StrictXmir, StXnav, TrFull, ObjectName, OnDefault, OnDetailed are exported. Everything else is an implementation detail and free to change.
6 rules from this sentence
Canonical, StrictXmir, StXnav and 3 more are exported
Holdsall 6PR #9969 · Nov 17
Fail-fast at line scope. Errors surface as ParseError with a [line:col] position; Eo.dispatch catches and rolls back the line's emissions, then the parser keeps going so a single malformed line doesn't poison the rest of the file.