orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

Calling from Java into Orc #24

Closed GoogleCodeExporter closed 7 years ago

GoogleCodeExporter commented 9 years ago
There should be a way for Java to call into Orc and get results back. E.g.
if Orc passes a closure (or site) to a site, that site should be able to
call the value and do something with the result.

It is implied that closures executed in this way are protected from
termination. One might also imagine that they execute in a special dynamic
context, so e.g. calls to Ltimer are not bound normally. Exactly how this
should work is a research question.

At a high level, one way you might accomplish this is to spawn a new Orc
engine to evaluate the closure or site call and collect the results for the
site, along the lines of orc.OrcInstance.

Original issue reported on code.google.com by adrianqu...@gmail.com on 18 Apr 2009 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by dkitc...@gmail.com on 19 Feb 2010 at 5:12

GoogleCodeExporter commented 9 years ago
See also issue 6

Original comment by jthywissen on 3 Mar 2010 at 4:50

arthurp commented 7 years ago

Add as part of the OrcO merge (b4c3965489bb78da98e0e7248bab95f57d01adc8).