<div dir="ltr">I managed to add llvm but compilation fails.<div><br></div><div><p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(203,203,203);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">MMMarkidis:jit_expr dis$ make</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(83,48,225);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(203,203,203)">[  7%] </span><span style="font-variant-ligatures:no-common-ligatures">[FLEX][Scanner] Building scanner with flex 2.6.4</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(83,48,225);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(41,249,20)">[ 15%] </span><span style="font-variant-ligatures:no-common-ligatures">[BISON][Parser] Building parser with bison 3.0.4</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(213,59,211);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Scanning dependencies of target parse</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(41,249,20)">[ 23%] </span><span style="font-variant-ligatures:no-common-ligatures">Building CXX object src/parse/CMakeFiles/parse.dir/scanner.cc.o</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:772:8: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::istream *' (aka 'basic_istream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        yyin.rdbuf(std::cin.rdbuf());</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        ~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                            -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:779:9: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::ostream *' (aka 'basic_ostream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        yyout.rdbuf(std::cout.rdbuf());</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        ~~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                             -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1112:50: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::istream *' (aka 'basic_istream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf();</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                                                                  ~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                                                                      -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1232:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      cannot initialize a member subobject of type 'std::istream *' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_istream<char> *') with an rvalue of type</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_streambuf<char_type, traits_type> *'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()),</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1233:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      cannot initialize a member subobject of type 'std::ostream *' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_ostream<char> *') with an rvalue of type</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_streambuf<char_type, traits_type> *'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf())</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1235:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      use of undeclared identifier 'ctor_common'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ctor_common();</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1240:14: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      out-of-line definition of 'parseFlexLexer' does not match any declaration</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      in 'parseFlexLexer'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">yyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ):</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">             ^~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:30:25: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">note: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      expanded from macro 'yyFlexLexer'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    #define yyFlexLexer parseFlexLexer</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        ^~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1231:27: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">note: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      type of 1st parameter of member declaration does not match definition</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      ('std::istream *' (aka 'basic_istream<char> *') vs 'std::istream &' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_istream<char> &'))</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ):</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                          ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1241:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      cannot initialize a member subobject of type 'std::istream *' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_istream<char> *') with an rvalue of type</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_streambuf<char_type, traits_type> *'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yyin(arg_yyin.rdbuf()),</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^    ~~~~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1242:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      cannot initialize a member subobject of type 'std::ostream *' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_ostream<char> *') with an rvalue of type</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_streambuf<char_type, traits_type> *'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yyout(arg_yyout.rdbuf())</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^     ~~~~~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1244:2: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      use of undeclared identifier 'ctor_common'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ctor_common();</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1249:19: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      out-of-line definition of 'ctor_common' does not match any declaration in</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'parseFlexLexer'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">void yyFlexLexer::ctor_common()</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                  ^~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1287:19: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      out-of-line definition of 'switch_streams' does not match any declaration</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      in 'parseFlexLexer'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">void yyFlexLexer::switch_streams( std::istream& new_in, std::ostream& new_out )</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                  ^~~~~~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/FlexLexer.h:129:31: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">note: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      type of 1st parameter of member declaration does not match definition</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      ('std::istream *' (aka 'basic_istream<char> *') vs 'std::istream &' (aka</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'basic_istream<char> &'))</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        virtual void switch_streams( FLEX_STD istream* new_in, FLEX_STD ...</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                                     ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/FlexLexer.h:53:22: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">note: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      expanded from macro 'FLEX_STD'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">#    define FLEX_STD std::</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                     ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1291:41: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      no viable conversion from 'std::istream' (aka 'basic_istream<char>') to</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'std::istream *' (aka 'basic_istream<char> *')</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE  ) );</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                                               ^~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/FlexLexer.h:121:62: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">note: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      passing argument to parameter 's' here</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        struct yy_buffer_state* yy_create_buffer( FLEX_STD istream* s, int size );</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                                                                    ^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1294:7: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::ostream *' (aka 'basic_ostream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        yyout.rdbuf(new_out.rdbuf());</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ~~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">             -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1302:10: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      assigning to 'std::istream *' (aka 'basic_istream<char> *') from</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      incompatible type 'std::istream **' (aka 'basic_istream<char> **'); remove</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      &</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                new_in = &yyin;</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                       ^ ~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1306:11: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      assigning to 'std::ostream *' (aka 'basic_ostream<char> *') from</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      incompatible type 'std::ostream **' (aka 'basic_ostream<char> **'); remove</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      &</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                new_out = &yyout;</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                        ^ ~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1315:18: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      out-of-line definition of 'LexerInput' does not match any declaration in</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      'parseFlexLexer'</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">int yyFlexLexer::LexerInput( char* buf, int max_size )</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                 ^~~~~~~~~~</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1318:11: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::istream *' (aka 'basic_istream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        if ( yyin.eof() || yyin.fail() )</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">             ~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                 -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">/Users/dis/Documents/Pd/externals/jit_expr/build/src/parse/scanner.cc:1318:25: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">error: </span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      member reference type 'std::istream *' (aka 'basic_istream<char> *') is a</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(0,249,0);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      pointer; maybe you meant to use '->'?</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        if ( yyin.eof() || yyin.fail() )</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                           ~~~~^</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(52,189,38);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">                               -></span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">fatal error: </span><span style="font-variant-ligatures:no-common-ligatures">too many errors emitted, stopping now [-ferror-limit=]</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">20 errors generated.</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[3]: *** [src/parse/CMakeFiles/parse.dir/scanner.cc.o] Error 1</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [src/parse/CMakeFiles/parse.dir/all] Error 2</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [all] Error 2</span></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [pd] Error 2</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-18 22:49 GMT+01:00 Marco Matteo Markidis <span dir="ltr"><<a href="mailto:mm.markidis@gmail.com" target="_blank">mm.markidis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alex,<div><br></div><div>jit_expr.pd_darwin is in the same folder of help file. Usually it works...</div><div>On my machine, Deken puts the externals in Pd/externals and in my path I have Pd/externals.</div><div><br></div><div>Anyway, putting all stuff in verbose I get in console:</div><div><br></div><div><div>/Users/dis/Documents/Pd/extern<wbr>als/jit_expr/jit_expr.pd_darwi<wbr>n: dlopen(/Users/dis/Documents/Pd<wbr>/externals/jit_expr/jit_expr.p<wbr>d_darwin, 10): Symbol not found: _futimens</div><div>  Referenced from: /Users/dis/Documents/Pd/extern<wbr>als/jit_expr/jit_expr.pd_darwi<wbr>n (which was built for Mac OS X 10.13)</div><div>  Expected in: /usr/lib/libSystem.B.dylib</div><div> in /Users/dis/Documents/Pd/extern<wbr>als/jit_expr/jit_expr.pd_darwi<wbr>n</div></div><div><br></div><div>So there is futimens function that is not found; indeed looking at symbols present in my /usr/lib/libSystem.B.dylib futimens is not present. So I suspect that passing from OSX 10.10.5 (my os) to OSX 10.13 (the one you use to compile) something changes.</div><div><br></div><div>Finally, I tried to compile jit_expr. However Cmake 3.10.2 does not find LLVMConfig.cmake or llvm-config.cmake. I have several llvm installed on my machine with macports, but even using find command I do not find manually any of these two files. </div><div><br></div><div>Best,</div><div>Marco</div><div><br></div><div>Ps. I found a LLVM-Config.cmake but I don't know how to add this path or set a LLVM_DIR. </div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-18 19:22 GMT+01:00 Alex <span dir="ltr"><<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Marco,<br><br></div>HMM, where did you install jit_expr.pd_darwin ? Deken initially sets up a directory for you if you tell it to, I believe. I think on mac this is in ~/Documents/Pd/extra ?<br></div>Can you tell me what is in your "path" settings, on mac the "file" menu item might be just called "Pd"? I'm not sure [I'm on a linux machine right now]<br></div>File -> preferences -> path<span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008HOEnZb"><font color="#888888"><br></font></span></div><span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008HOEnZb"><font color="#888888"><div><br></div>-Alex<br><br></font></span></div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008HOEnZb"><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 18, 2018 at 10:10 AM, Marco Matteo Markidis <span dir="ltr"><<a href="mailto:mm.markidis@gmail.com" target="_blank">mm.markidis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, <div>I forgot to let you know all the important informations.</div><div><br></div><div>Pd vanilla 48.1 64 bit, OSX, downloaded from deken binaries and sources. help file doesn't work opening from pd browser and directly double-clicking.</div><div><br></div><div>I tried even copy pd.lib in the same folder of help & pd.darwin, but without success.</div></div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510HOEnZb"><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-18 18:04 GMT+01:00 Alex <span dir="ltr"><<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Marco,</div><div><br></div>Which version of PD are you running? Which OS? I expect you downloaded jit_expr from deken?<br></div>Does the jit_expr help file work if you open it in the pd browser? help -> browse -> jit_expr -> double click on the jit_expr-help.pd file?<span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673HOEnZb"><font color="#888888">-Alex<br> <br></font></span></div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673HOEnZb"><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 18, 2018 at 9:49 AM, Marco Matteo Markidis <span dir="ltr"><<a href="mailto:mm.markidis@gmail.com" target="_blank">mm.markidis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Alex,<div><br></div><div>very happy about this new feature... and incredibly very happy about hearing just-in-time compiling dsp graph!</div><div>Anyway, I get only various jit/expr, jit/expr~, jit/fexpr~ couldn't create...</div><div>I tried to change the [declare -lib] in [declare -path], jit_expr in jit/expr in declare, looking to have the right 64 bit pd but nothing...</div><div><br></div><div>Best,</div><div>Marco</div></div><div class="gmail_extra"><div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956h5"><br><div class="gmail_quote">2018-03-18 17:34 GMT+01:00 Alex <span dir="ltr"><<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-weight:normal"><span name="Alexandre Torres Porres" class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164m_7843390744722662625gmail-gD">Alexandre</span></span>,<br></div><div><br></div><div>I don't think it has had enough usage to be called "stable" yet, but I could see that happening down the line. In fact, I could see eventually JIT compiling the entire DSP graph.. but of course that would be significant work. At this point I just need more people to try it out and make sure it would be up to it.<span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164HOEnZb"><font color="#888888"><br></font></span></div><span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164HOEnZb"><font color="#888888"><div><br></div><div>-Alex<br></div><br></font></span></div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164HOEnZb"><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 18, 2018 at 9:23 AM, Alexandre Torres Porres <span dir="ltr"><<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">if this is stable, wouldn't it be a nice idea to propose it as an update to the expr~ family of objects? since it is basically an optimized clone?<div><br></div><div>cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164m_7843390744722662625h5">2018-03-18 13:08 GMT-03:00 Alex <span dir="ltr"><<a href="mailto:x37v.alex@gmail.com" target="_blank">x37v.alex@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164m_7843390744722662625h5"><div dir="ltr"><div><div><div><div>jit_expr is a clone of the pure data expr/expr~/fexpr~ objects. It just-in-time compiles its expressions so they should be much more optimized than the original. If all works as designed, they should use less CPU than the equivalent vanilla, non-expr, patching and have a significant CPU advantage over the original expr objects.</div><div><br></div><div>I've put the external, compiled for 64-bit Mac-OS and 64-bit Linux, up on deken: in pd, go to help menu, find externals, search for "jit_expr".<br></div><div><br></div><div>After installing the external you should be able to change any of your expr family of objects to just in time compile by loading the library, [declare -lib jit_expr], and then prefixing the object name with "jit/", for example [jit/fexpr~ $x1[0] + $y1[-1]].</div><div><br></div></div>I believe they are feature complete with the originals but I'd love to know if there is anything that I'm missing or any bugs that you discover.<br></div>I'm not exactly sure how to profile pure data patches. If anyone has a good approach or original expr~/fexpr~ patches that use a lot of CPU you can share, let me know.</div><div><br></div><div>Compiling in the object takes a little bit of time, so the initial instantiation of the object/expression will be a bit slower than the original, FYI.<br></div><div><div><div><br>Please report any issues here:<br><a href="https://github.com/x37v/jit-expr/issues" target="_blank">https://github.com/x37v/jit-ex<wbr>pr/issues</a></div><div><br></div><div><br></div><div>BTW, if you're curious to see the llvm assembly produced by your expression, send the |print( message into the left most inlet of your object then check out the pd console.<br></div><div><br></div><div><br></div><div>I would love help building Windows and 32-bit Linux versions of the externals. I'm guessing we could also do raspi/arm builds but we'd need some changes to the source code as it uses llvm and explicitly generates code for x86 right now.</div><div><br></div><div><div>The source code can be found in the git repo:<br></div><div><a href="https://github.com/x37v/jit-expr" target="_blank">https://github.com/x37v/jit-ex<wbr>pr</a><br></div></div><div><br></div><div>-Alex Norman<br></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Pd-announce mailing list<br>
<a href="mailto:Pd-announce@lists.iem.at" target="_blank">Pd-announce@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/pd-announce" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-announce</a><br>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956HOEnZb"><font color="#888888">-- <br><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673m_685149538279154956m_-1476854318568847164gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ho cambiato l'indirizzo email in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . Se non è un problema, scrivimi a questo nuovo indirizzo email.<div><br></div><div>I changed my email address in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . If it is ok for you, please write me to this new email address.</div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008m_-625915094936041510m_-3611169214851004673gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ho cambiato l'indirizzo email in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . Se non è un problema, scrivimi a questo nuovo indirizzo email.<div><br></div><div>I changed my email address in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . If it is ok for you, please write me to this new email address.</div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-3474567438782128200m_-1654115074990759115m_-573349562950205008gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ho cambiato l'indirizzo email in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . Se non è un problema, scrivimi a questo nuovo indirizzo email.<div><br></div><div>I changed my email address in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . If it is ok for you, please write me to this new email address.</div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ho cambiato l'indirizzo email in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . Se non è un problema, scrivimi a questo nuovo indirizzo email.<div><br></div><div>I changed my email address in <a href="mailto:mm.markidis@autistici.org" target="_blank">mm.markidis@autistici.org</a> . If it is ok for you, please write me to this new email address.</div></div></div>
</div>