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
Thanks for the work on this.
It does seem little strange to be handling on_include within the individual processors.
For O2, there is a dedicated processor just for this - https://github.com/Origen-SDK/o2/blob/stil/rust/origen/src/generator/stil/processors/includer.rs
So once we have parsed a top-level file into an AST, the first thing we do is then run it through the include processor (recursively) to replace all include nodes with the AST from the file they are pointing to.
Could that approach not be used here too?
Our internal STIL files make use of including information from different files using the "Include" statement supported by the STIL spec.
I would like to see support for it in the current implementation. Thanks!
The text was updated successfully, but these errors were encountered: