### ----------------------------------------------------
### -- Proc::ZMQed
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: examples/Julia-evaluations.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;

use Proc::ZMQed::Julia;

my Proc::ZMQed::Julia $juliaProc .= new(url => 'tcp://127.0.0.1',
                                        port => '5560',
                                        cli-name => '/Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia');

$juliaProc.start-proc(setup-lines => Empty):!proclaim;

my $juliaRes = $juliaProc.evaluate('sqrt(323)');
say $juliaRes;

$juliaProc.terminate;


