You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is really cool, but I suggest that you pack it into an extra optional module instead of the native library, because the native PB compiler doesn't optimize for dead code, which means that the code for the graphs would be included in the generated binary file even in applications that don't actually use it.
GCC does remove dead code from the final binary, but since we don't know the internals of the PB-GCC backend we can't be sure of this without experimenting whether this optimization is actually enforced.
For this feature the tool Graphviz will be used and should replace these codes:
examples/Debug_NFA_table.pb
examples/Debug_DFA_table.pb
For example, the regex engine creates the following dot code for the regex
(a|b)
:Graphviz then generates this NFA diagram visualization from the dot code:
![nfa](https://user-images.githubusercontent.com/18380976/177033969-bd074b92-aef5-4568-8e9d-a67369ba5fc1.png)
The text was updated successfully, but these errors were encountered: