Skip to content

Add option to print preprocessed P4 and continue with compilation #5152

@kfcripps

Description

@kfcripps

When the -E option is provided, the compiler prints the contents of the preprocessed P4 file, and exits. It would be nice if there existed an option to do the same (and maybe print the preprocessed P4 to some output file in the --dump directory instead of to stdout), but continue with compilation instead of exiting. Is there any reason to not add such an option?

Metadata

Metadata

Assignees

Labels

coreTopics concerning the core segments of the compiler (frontend, midend, parser)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions