Skip to content
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

Work with Inari to get a 'rendering' of part of the concrete Lam4 syntax #49

Open
ym-han opened this issue Aug 21, 2024 · 0 comments
Open
Assignees

Comments

@ym-han
Copy link
Contributor

ym-han commented Aug 21, 2024

Resources

  • Attempto Controlled English --- Tom H. uses it as well / discusses it

http://attempto.ifi.uzh.ch/site/description/
http://attempto.ifi.uzh.ch/site/docs/ace_interpretationrules.html

image image image image ![Uploading image.png…]()

Notes / ideas

Architecture / project planning

  • The rendering will presumably start from the concrete syntax type. Since the Lam4 concrete syntax is mostly a superset of the current expression language fragment of the main-branch L4 concrete syntax, it should be easy to port over whatever rendering work is done with Lam4 to main-branch L4 as well.

Quick thoughts / reactions to the use of ACE in Tom H's dissertation

Since we are just doing rendering, we can leverage domain-specific heuristics (or give the Lam4 programmer the knobs to adjust the rendering) to remove things that are redundant for humans, given the domain and context.

Eg: we can have a 'for-busy-executives mode' where, instead of

Vendor has a String called name. 
Vendor has an Address.

we can just have something like

A Vendor has a Name and Address.

Similarly, instead of

Address is Data. 
Address has a String. 
Address has a Country.

the 'for-busy-executives mode wouldn't bother noting that this is 'Data', since that's not relevant for busy executives.

Other options in the same vein include allowing for folding/unfolding and having a default view that only shows the most important-for-executives stuff (so, e.g., the default view might even fold away stuff like the Vendor's having a Name, or only show the most important data types at the initial level of folding)

(TODO: See what kind of language / phrasing is most prevalent in contracts and emulate that.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants