Skip to content

Add compiler driver testing CLIΒ #27

@0xGeorgii

Description

@0xGeorgii
  • infc ~/path_to_spec.inf --lex directs to run the lexer, but stops before parsing
  • ... --parse directs to run lexer and parser, but stops before wasm generation
  • ... --codegen directs to perform lexing, parsing, and wasm generation, but stops before rocq emission

None of these should produce any output files, and all should terminate with an exit code 0 if they don't hit any errors. In case of hitting errors, they should be reported to stderr and terminate with an appropriate exit code (TBD: define exit code tables).

In addition

  • ... -s emits wasm file

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand line interface related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions