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

Create syntax highlighting rules for py-slang chapters #6

Open
RichDom2185 opened this issue May 1, 2023 · 1 comment
Open

Create syntax highlighting rules for py-slang chapters #6

RichDom2185 opened this issue May 1, 2023 · 1 comment

Comments

@RichDom2185
Copy link
Member

As seen in source-academy/frontend#2466, we just set the syntax highlighting rules to match that of full Python for now.

I understand we are only implementing a subset of Python that is enough to cover SICP. To ask:

  • Do we need different highlighting rules (compared to the default Python rule) for the different constructs that we support in each chapter?
  • Even if we don't, we should define these highlighting rules inside py-slang so that clients like the frontend can remove patchworks like the above.
@martin-henz martin-henz changed the title Create syntax highlighting rules for py-slang Create syntax highlighting rules for py-slang chapters Apr 9, 2024
@martin-henz
Copy link
Member

chapter-specific highlighting still missing

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

No branches or pull requests

2 participants