Skip to content

Significant-indentation language grammars: doable? #1438

Answered by MegaIng
metaleap asked this question in Q&A
Discussion options

You must be logged in to vote

No, lark doesn't have a pure grammar way of expressing this, but it does have a very smooth way of having indentation based languages, see the python grammar example.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by metaleap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants