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

Verify our implementation against sqlite #5

Open
bollu opened this issue Jul 6, 2022 · 0 comments
Open

Verify our implementation against sqlite #5

bollu opened this issue Jul 6, 2022 · 0 comments

Comments

@bollu
Copy link
Collaborator

bollu commented Jul 6, 2022

Sqlite is a large C codebase, so we can test our implementation of the parser and pretty printer by the following process:

for file in sqlite:
  canonical_input = clang-format(file)
  our_output = lean_print(lean_parse(canonical_input))
  canonical_output = clang-format(our_output)
  assert canonical_input == canonical_output
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