Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 735 Bytes

action_file_regeneration.md

File metadata and controls

22 lines (15 loc) · 735 Bytes

Action File Regeneration

By default, rcomp will not change any content of generated functions if the action file has existed. This mechanism ensures the actions that we add will not be lost accidentally. However, if we really want to regenerate the action file, the default rcomp behavior requires us to delete the action file and generate it again. It is inconvenient, so there is a command for this:

rcomp --force my_grammar.rustemo

The command (re)generates action files no matter the files exist or not.

There is the same but shorter command.

rcomp -f my_grammar.rustemo

➡️ Next: GLR Parser Generation

📘 Back: Table of contents