Skip to content

Add parser dump midend pass#44

Open
kamleshbhalui wants to merge 1 commit intomainfrom
codex/add-json-dump-functionality-for-p4-parser
Open

Add parser dump midend pass#44
kamleshbhalui wants to merge 1 commit intomainfrom
codex/add-json-dump-functionality-for-p4-parser

Conversation

@kamleshbhalui
Copy link
Owner

Summary

  • introduce DumpParserJson pass and option --dump-parser
  • include the pass in main midends
  • add new source files to build system
  • traverse parser states in execution order when emitting JSON
  • fix midend CMake file formatting

Testing

  • clang-format -i midend/dumpParserJson.cpp tools/parser_dump/parser_dump.cpp
  • cmake -S . -B build (succeeds)
  • cmake --build build -j $(nproc) (interrupted)

https://chatgpt.com/codex/tasks/task_e_687f790ad7d0833082c6889f94396a64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant