Skip to content

Verify our implementation against sqlite #5

@bollu

Description

@bollu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions