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

Process Parameter #32

Open
Adrodoc opened this issue Jun 4, 2016 · 2 comments
Open

Process Parameter #32

Adrodoc opened this issue Jun 4, 2016 · 2 comments

Comments

@Adrodoc
Copy link
Owner

Adrodoc commented Jun 4, 2016

Using Variables as described in #31, it should be possible to call a process and give it parameters.
A runtime/normal Process can be called with values and selectors.
There should be a new type of process, a compiletime process.
A compiletime process can be called with all types of variables and will be inlined into the calling process.
A compiletime process should be able to call both compiletime and runtime processes.

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

Adrodoc commented Jun 29, 2016

calling a process and waiting for it should look like this: myFunnyProcess(param1, param2)

@Adrodoc
Copy link
Owner Author

Adrodoc commented Jun 30, 2016

The remote keyword can be used to explicitely call a process remotely: remote myFunnyProcess(param1, param2).
For compiletime only processes this should produce an error.
This will cause to compiler to not fail if the process is missing, because it might be available at runtime. In that case it should cause a compiler warning.
If the process is available at compiletime, then the process should be included as it is references.

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

1 participant