-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete LExSIS transpilation #90
Comments
The current LExSIS transpilation process takes class definitions as defined in l4, and transforms them into the necessary data elements as specified by the LExSIS specification. The current version of r34.l4 existing in the I'm currently trying to rewrite the class definitions in a way that make sense, but find myself wanting a graph-like structure that would clearly delineate relationships between classes. To tackle the unary/binary encoding issue, a naive idea would be that class attributes can have an Rewritten classes here |
At this point i've further refined the class definitions for r34.l4 and added some lines regarding declarations in preparation for support of output enum lexsis types. The output for the cardinality/arity headers has also been updated slightly (thank you nlg-team for the arity tip), "type" header output has also been fixed, and no longer outputs "type: string" for all blocks. At this point we have support for "string" and "boolean", and further support for the other types will progressively be added. The current source header behavior is slightly different from that of the r34 yml file in smucclaw/docassemble-l4. The r34 yml file replicates the "position" data element entirely, twice, within the file. However, the l4 transpilation generates the "position" datablock as a root block of its own, and any blocks that require "position" data would refer to it with the "source: position" header-value pair. I'm not sure if this behavior functions properly within the lexsis -> docassemble process, some testing is needed. |
Currently it only works with rps.l4, am in the process of completing it for r34.l4
Will be logging progress here, along with any issues that pop up.
The text was updated successfully, but these errors were encountered: