lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.88k stars 414 forks source link

Update lexer option docs #1202

Closed benber86 closed 2 years ago

benber86 commented 2 years ago

Current docs list basic as a lexer option, but this raises a configuration error exception:

lark.exceptions.ConfigurationError: Got 'basic', expected one of ('standard', 'contextual', 'dynamic', 'dynamic_complete')

Updated the docs to reflect that standard should be used instead.

erezsh commented 2 years ago

@benber86 The correct option is "basic", ever since v1. What version of Lark are you using?