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

Removing ADTs and Parser Exports Due to Too Much Internals Exposure #959

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

cscaff
Copy link
Contributor

@cscaff cscaff commented Feb 7, 2025

This PR resolves #958. In my last Catlab PR, I added the ADTs and Parser modules to Catlab. The end goal was to provide the user with access to the relation string macro and AlgebraicJulia developers with PEG rules when they explicitly import them in other packages. However, many unneeded items were exported, leaving basic users with too much access to internals. This PR modifies this such that basic users can only access the Relation string macro with a typical Using Catlab. Otherwise, they will need to explicitly call Using Catlab.Parsers to gain access to specific PEG-building constructs. Minor fixes were made on top of this. For instance, the "collect()" function within ParserCore.jl was renamed to create clarity between the ParserCore feature and the Base Julia function.

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.

RelationTerm/Parser Exports Removal
1 participant