gavo.stc.stcsgen module¶
Converting ASTs to STC-S.
The strategy here is to first generate an STCS CST, remove defaults from it and then flatten out the whole thing.
The AST serializers here either return a dictionary, which is then updated to the current node’s dictionary, or a tuple of key and value, which is then added to the current dictionary.