You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Lady Deirdre does not natively support indentation-based grammars. Since such a lexer is inherently context-sensitive, it may be best implemented as an intermediate analysis layer between raw token scanning and syntax parsing.
One possible approach for tracking indentation could leverage the existing LineIndex object, or at least use it as a foundation.
However, indentation-based grammars are often specific to each language. The final solution should be flexible and not overly restrictive or domain-specific. It should offer configuration options that cover a wide range of end-user needs, while seamlessly integrating into the existing LD architecture without introducing breaking changes.
This issue is a long-term goal that requires further preliminary research.
Currently, Lady Deirdre does not natively support indentation-based grammars. Since such a lexer is inherently context-sensitive, it may be best implemented as an intermediate analysis layer between raw token scanning and syntax parsing.
One possible approach for tracking indentation could leverage the existing LineIndex object, or at least use it as a foundation.
However, indentation-based grammars are often specific to each language. The final solution should be flexible and not overly restrictive or domain-specific. It should offer configuration options that cover a wide range of end-user needs, while seamlessly integrating into the existing LD architecture without introducing breaking changes.
This issue is a long-term goal that requires further preliminary research.
For prior discussion, see issue #4.
The text was updated successfully, but these errors were encountered: