Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add colorizer and importer for 竜 TatSu files #3617

Open
tbpassin opened this issue Oct 22, 2023 · 3 comments
Open

Add colorizer and importer for 竜 TatSu files #3617

tbpassin opened this issue Oct 22, 2023 · 3 comments
Assignees
Labels
Delegated Delegatated to others Enhancement
Milestone

Comments

@tbpassin
Copy link
Contributor

竜 TatSu is a PEG parser generator that uses a version of EBNF for its rules.
See https://tatsu.readthedocs.io/en/stable/intro.html

@tbpassin tbpassin added this to the 6.7.6 milestone Oct 22, 2023
@edreamleo edreamleo modified the milestones: 6.7.6, 6.7.7, 3.7.8, 6.7.8 Nov 7, 2023
@edreamleo edreamleo added the Delegated Delegatated to others label Nov 8, 2023
@edreamleo
Copy link
Member

@tbpassin I'll delegate this one to you :-) Please feel free to ask for help.

@edreamleo edreamleo modified the milestones: 6.7.7, Later Nov 8, 2023
@tbpassin
Copy link
Contributor Author

tbpassin commented Nov 8, 2023

Pretty sure I'll be asking! - since I don't know much about the colorizer, the importers or 竜 TatSu. So don't be looking for a PR in a hurry.

@edreamleo
Copy link
Member

edreamleo commented Nov 8, 2023

@tbpassin The tasks:

  • Support @language tatsu. See app.__init__ (helpers contain language dicts).
  • Create leo/modes/tatsu.py.
    All files in leo/modes/ call pattern matchers in class JEditColorizer(BaseColorizer)inleoColorizer.py. Organize tatsu.pyalong the lines ofleo/modes/python.py`.

Running Leo with --trace=coloring shows superb traces in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Delegated Delegatated to others Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants