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

Functional Blocks #2

Open
Stephen001 opened this issue Apr 11, 2011 · 1 comment
Open

Functional Blocks #2

Stephen001 opened this issue Apr 11, 2011 · 1 comment
Assignees
Labels

Comments

@Stephen001
Copy link
Owner

Now we have the capability to run opcodes that manipulate registers and constant input, functional blocks should be made to allow for methods, anonymous functions etc. The notion of scope beyond the local scope (well defined by a register group) could be fun here.

@ghost ghost assigned Stephen001 Apr 11, 2011
@Stephen001
Copy link
Owner Author

We have a few options here.

The easy route may well be to extend the Executor, to allow it to also be an opcode in it's own right. This will offer a very interesting property, if the assumption is Executors can be operated like threads, in that any function defined may also be multi-threaded in execution, with no notion of intrinsically locking the object it's associated with.

A part of this (and something of a requirement for anonymous functions anyway) would be the ability to hold a function reference in a register. This could however be managed by anonymous objects, referenced by registered instead.

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

No branches or pull requests

1 participant