Ticket #370 (new enhancement)
Definition expansion for "pattern"-type definitions
| Reported by: | clange | Owned by: | cdavid |
|---|---|---|---|
| Priority: | major | Milestone: | zzz Future zzz |
| Component: | JOBAD | Version: | |
| Keywords: | Cc: | kohlhase, frabe | |
| Blocked By: | Blocking: | 371 | |
| Due to close: | Include in GanttChart: | no | |
| Dependencies: | Due to assign: |
Description
Besides simple "symbol := expression" definitions (#110), pattern-based definitions like "f(x) := expression(x)" are eligible for expansion:
<definition for="symbol-URI" type="pattern">
<requation>
<OMOBJ><!-- f(x) --></OMOBJ>
<OMOBJ><!-- expression(x) --></OMOBJ>
</requation>
<!-- potentially more such equations, but for now we ignore that -->
</definition>
@Michael: What kind of pattern matching (or unification?) would be needed for handling this correctly? – I have no idea and think we should start by only supporting cases as simple as f(x) or f(x1,...,xn).
Change History
Note: See
TracTickets for help on using
tickets.
