Skip to content

Carson/ddl gen#97

Merged
carsonharmon merged 6 commits intomasterfrom
carson/ddl_gen
Sep 23, 2020
Merged

Carson/ddl gen#97
carsonharmon merged 6 commits intomasterfrom
carson/ddl_gen

Conversation

@carsonharmon
Copy link
Copy Markdown
Contributor

This changes how we do datalog generation and adds a new datalog.py file.

You can run it like this
polyprocess --extract-datalog NEW_TEST_process_set.json example2.json --outfile output.dl

output.dl is a parser in datalog. Try to have it parse the file by using souffle

souffle -D. output.dl and look at all the CSV files. In the CSV files you will see integer pairs of a, b. The ranges are bytes that were successfully parsed together by that datalog rule.

Right now its fragmented, there are chunks here and there, but for whatever reason the datalog or grammar is not fully connected.

@carsonharmon carsonharmon added the enhancement New feature or request label Sep 22, 2020
@carsonharmon carsonharmon merged commit bcab84d into master Sep 23, 2020
@ESultanik ESultanik deleted the carson/ddl_gen branch December 9, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants