Skip to content

New Lark cheatsheet (fixes #195) - #1694

Open
warisnoori4030-dotcom wants to merge 3 commits into
lark-parser:masterfrom
warisnoori4030-dotcom:feature/cheatsheet-redesign
Open

warisnoori4030-dotcom wants to merge 3 commits into
lark-parser:masterfrom
warisnoori4030-dotcom:feature/cheatsheet-redesign

Conversation

@warisnoori4030-dotcom

@warisnoori4030-dotcom warisnoori4030-dotcom commented Nov 2, 2026 •

Copy link
Copy Markdown

Redesigns the Lark cheatsheet to be cleaner and easier to read.

  • New single-page A4 landscape cheatsheet, written in HTML
    (docs/_static/lark_cheatsheet.html) and exported to docs/_static/lark_cheatsheet.pdf
  • Fixes the terminal definition: a terminal is "a string, a regular expression,
    or a concatenation of these" (no more undefined "values")
  • Adds a Transformers & Visitors section
  • Adds the common.lark terminals
  • Sections: grammar definitions, grammar syntax, Lark() options, trees & tokens,
    transformers & visitors, common.lark, complete calculator example

The existing links in README and docs point to lark_cheatsheet.pdf, so they pick up the new version automatically.

Fixes #195

@warisnoori4030-dotcom warisnoori4030-dotcom changed the title docs: design new HTML-based Lark cheatsheet New Lark cheatsheet (fixes #195) Nov 16, 2026
@warisnoori4030-dotcom

Copy link
Copy Markdown
Author

Hi @erezsh, I hope you're doing well. I've submitted this PR (#1694) to resolve Issue #195 (Design a new Lark cheatsheet). I would be very grateful if you could take a look and review it when you have a moment. Thank you!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design a new Lark cheatsheet

1 participant