Skip to content

Add remaining Symbols for Boxes#1759

Open
rocky wants to merge 1 commit intomasterfrom
more-boxing-Symbols
Open

Add remaining Symbols for Boxes#1759
rocky wants to merge 1 commit intomasterfrom
more-boxing-Symbols

Conversation

@rocky
Copy link
Copy Markdown
Member

@rocky rocky commented Mar 27, 2026

Front ends, like Mathics3-django, need to take Boxed output and decide, based on the type of Box, what to do with it and how to further render it.

Right now, this is done using get_head_name and checking its string value. The cleaner way, though, is to do an is comparison on the Symbol name. One problem with this is right now we don't have Symbol names for some of the boxes, especially the newer top-level ones that are likely to occur a lot, like InterpretationBox.

This PR seeks to addresss that.

@rocky rocky requested a review from mmatera March 27, 2026 14:27
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.

1 participant