Skip to content

Create syntax highlighting rules for py-slang chapters #6

@RichDom2185

Description

@RichDom2185

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions