omphalos
omphalos
This does appear to be an issue. I think this is because the callback gets turned into an InterpretedFunction object by metajs. I copy-pasted the code you have here into...
Understandable .. what do you think is the best way to go forward with this? You mention promises, or do you have something else in mind?
I think this is probably doable in one of two ways. Either use something like `babel-register` with a babel plugin that supports `eval`. I'm not sure if one exists for...
> it all seems a little monolithic currently Yeah I admit I need to refactor this some more. > how much work it would be to get a list of...
I started to set up something on these lines on the 'parallel' branch if you want to take a look.
The `DeferredApiCall` is used to translate the DSL syntactic sugar into OO-calls. For example: ``` js declare('square', given(3, shouldReturn(9)), use('*')) ``` This effectively gets translated by `DeferredApiCall` into: ``` js...
@UniqueFool I added solve steps to testParallel.i.js and included duration metadata in the solution. To set up the solve step so that it is easily callable I had to move...
> is there anything you'd prefer or would not like to see used at all ? I would say go ahead and use whatever you like. As a side note...
[testParallel.i.js](https://github.com/omphalos/inductive.js/blob/parallel/test/testParallel.i.js) has the dependency tree, which I think you would have to iterate over this to determine what needs to be solved. The problem is sharing state between workers. Each...
Yeah, you're right.