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

Parsing ACSetSpecs from files with PEG.jl #150

Open
jpfairbanks opened this issue Sep 12, 2024 · 0 comments
Open

Parsing ACSetSpecs from files with PEG.jl #150

jpfairbanks opened this issue Sep 12, 2024 · 0 comments
Assignees

Comments

@jpfairbanks
Copy link
Member

A good test case for using PEG to understand how to connect DSLs specified with ADTs and surface syntax specified with PEG grammars would be to give a surface syntax for ADTs that are used for the acsetlang. This would let us read ACSets from files and extract an ADT of the acset language and then construct instances of the ACSets described in the language.

ADT definition and Usage:

function acsetspec(head, body)

cspec = acsetspec(:SemiSimplicialSet,quote

Example PEG rules for UWDs:
AlgebraicJulia/SyntacticModels.jl#11

Exit criteria:

  1. read ACSets from files and extract an ADT of the acset language
  2. construct instances of the ACSets described in the language
  3. primitive rules like whitespace and parenthesis parsing is in a reusable module
@jpfairbanks jpfairbanks self-assigned this Sep 12, 2024
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

No branches or pull requests

1 participant