One way to provide advice to a user-facing app about which attributes and categories will need to be displayed to the user would be to include information in the app about whether or not a given attribute or category is derivable. That would require a dependency graph of the resulting s(CASP) code, and a search for leaf nodes. Would need to reimplement some code from docassemble-L4, probably.
One way to provide advice to a user-facing app about which attributes and categories will need to be displayed to the user would be to include information in the app about whether or not a given attribute or category is derivable. That would require a dependency graph of the resulting s(CASP) code, and a search for leaf nodes. Would need to reimplement some code from docassemble-L4, probably.