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

support nested abstract clafers #23

Open
mantkiew opened this issue Nov 23, 2015 · 1 comment
Open

support nested abstract clafers #23

mantkiew opened this issue Nov 23, 2015 · 1 comment
Assignees
Milestone

Comments

@mantkiew
Copy link
Member

abstract Component
    abstract Port

now, Port can be extended as:

Example 1:

WinController : Component
    cmd : Port
    abstract ExceptionPort : Port

NOTE: the compiler also allows declaring ExceptionPort at the top-level but only for abstract clafers like this

WinController : Component
    powerOut : ExceptionPort

abstract ExceptionPort : Port

however, in the IR, ExceptionPort is physically moved as a sibling of Port as in the Example 1.

Relevant test cases are:

@mantkiew mantkiew added this to the 0.4.3 milestone Nov 23, 2015
@JLiangWaterloo
Copy link
Member

Implemented abstract clafers nested under abstract clafers.

TODO: abstract clafers nested under concrete clafers.

@mantkiew mantkiew modified the milestones: 0.4.4, 0.4.3 Dec 22, 2015
@mantkiew mantkiew mentioned this issue Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants