Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Process modifer #34

Closed
Adrodoc opened this issue Jun 29, 2016 · 5 comments
Closed

Process modifer #34

Adrodoc opened this issue Jun 29, 2016 · 5 comments
Assignees
Milestone

Comments

@Adrodoc
Copy link
Owner

Adrodoc commented Jun 29, 2016

remote: process must always be called remotely and can't be inlined.
global/runtime/public: process will be inlined, but will also be available at runtime. Warning: waiting for or intercepting this process will only work when called remotely by a different project.
inline/compiletime/private: process will not be available at runtime and can't be intercepted or waited for. This enables string parameters. This should be the default.

@Adrodoc Adrodoc added this to the v2.0 milestone Jun 29, 2016
@Adrodoc
Copy link
Owner Author

Adrodoc commented Jun 29, 2016

If the keyword clickabe from #23 is added it will only work with processes that are available at runtime.

@BrainStone
Copy link
Contributor

I would choose the keywords remote, global and inline.
I also agree that inline should be a implicit keyword

@Adrodoc
Copy link
Owner Author

Adrodoc commented Jul 1, 2016

I suspect that the second type will not be used very often and the second type is basically a mix of the other two. I don't really like the keyword global, because it does not really describe it's meaning accurate ly. Maybe it would make sence to use both of the other keywords to mark a type 2 process: inline remote process myProcess.
Something to keep in mind is that the keyword compiletime might be required for #43 and could the be reused here.

@Adrodoc
Copy link
Owner Author

Adrodoc commented Jul 23, 2016

Starting, stopping, intercepting or waiting for an inline process should result in a compiler error.

@Adrodoc Adrodoc closed this as completed in 62b84e7 Aug 8, 2016
@Adrodoc
Copy link
Owner Author

Adrodoc commented Aug 8, 2016

global/runtime/normal processes were not added. They might possibly be added in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants