Closed dreamwhite closed 1 year ago
Reminder for the future me (prob 4 hours more or less). Given that the parser will check each line, when you get a Scope (...)
like line, use
scope_name = current_line.split()[1][1:-1]
scope_name.split('.') # this will split the path in a single list with multiple elements, the first one is the parent, while the others are the child
Alright, I have some serious issues with my mind. Scope recognition works but when it comes to talk about nested devices, it fucks up.
Need some investigation ffs
I'm kinda bored about this project and don't see any valid reason to exist. I'll close this issue, but if anyone wants to mess up with the code, feel free to submit a PR!
Current roadmap of needed functions to implement in the project
DefinitionBlock
contentExternal
referencestree
or something like that_SB.PCI0.LPCB
will be translated ontotree['_SB']['PCI0']['LPCB']
_SB
may get translated in_SB_