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

Succ relation and Souffle AST and parser #29

Merged
merged 10 commits into from
Mar 9, 2024
Merged

Succ relation and Souffle AST and parser #29

merged 10 commits into from
Mar 9, 2024

Conversation

cd1m0
Copy link
Collaborator

@cd1m0 cd1m0 commented Mar 8, 2024

This pr:

  1. Adds a full parser for Souffle adapted from the Bison parser in the Souffle repo
  2. Adds an AST for Souffle
  3. Replaces the hacky types regex-based parsing with the new parser
  4. Replaces the old peggy value parser with the new parser
  5. Adds a succ relation

Copy link
Collaborator Author

@cd1m0 cd1m0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this

src/lib/souffle/ast/declarations/adt.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/declarations/component.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/declarations/component.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/declarations/directive.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/declarations/directive.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/expressions/binary.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/expressions/unary.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/expressions/unary.ts Outdated Show resolved Hide resolved
src/lib/souffle/ast/rules/constraints/comparison.ts Outdated Show resolved Hide resolved
@cd1m0 cd1m0 merged commit f263a41 into main Mar 9, 2024
1 check failed
@cd1m0 cd1m0 deleted the succ branch March 9, 2024 01:10
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