Bob -- I don't know what's going on here. And not being able to run j90, I can't find out.
Am I hitting a bug in j901 interpretation? j901 (but not j807) just seems to be ignoring the definition of eval, which is (sic!): eval=: 0&$: : (4 : 0)"1 EVAL__=:'' if. 0=#y do. BADFLOAT [EVAL__=: 'empty' elseif. _1=4!:0<y do. BADFLOAT [EVAL__=: 'unassigned id' elseif. 0=4!:0<y do. x evalRC y elseif. do. x evalRC '/%-_Ee'charsub ,>y end. ) The empty lines may be confusing the interpreter. They are caused by decommenting during the build process. You might try editing ~addons/math/uu/uu.ijs to remove the blank lines, and see if that makes a difference. I'm also suspicious of how j901 might be interpreting the header line: eval=: 0&$: : (4 : 0)"1 The verb definition is rather on the complicated side. You might try additional parentheses: eval=: (0&$: : (4 : 0))"1 or replacing the "def" line with a simpler way of defining a monad/dyad with defaulted (x). It just puzzles me that j901 can skate through the definition of eval when loading uu.ijs without either creating the verb or raising an error condition. Another possibility (though I don't see how) is that eval_uu_ is indeed getting defined, but too late to save uvalu=:eval openv from crashing with a value error. The above line is executed by start_uu_ as part of the verb: make_units. But it's not actually start_uu_ that gets executed, but something like start__uun, because locale 'uu' is a class that math/cal instantiates. Might that be concealing the definition of eval_uu_? Without an AVX computer, I'm just floundering around in the dark. (@Henry -- do you read the Chat forum? Or should I cross-post this to the general forum?) If I don't get an answer to this, I shall have to edit RELEASE=:… in math/uu/manifest.ijs to state it is not supported by J releases later than j807. Ian On Fri, 7 Jun 2019 at 21:19, 'robert therriault' via Chat < [email protected]> wrote: > Same situation for j901, although from the error report it looks like you > added a line. J807 seems to load without error. > > Cheers, bob > > load 'math/tabula' > |value error: eval > | uvalu=:eval openv > |[-1867] /users/bobtherriault/j901/addons/math/uu/uu.ijs > test '' > +++ BUILTIN TEST OF UU [CAL, TABULA] > --- VERSION of UU -- 2.1.23 > --- VERSION of CAL -- 2.1.21 > --- VERSION of TABULA -- 2.1.12 > --- TP*_z_ paths: > ┌────┬────────────────────────────────────────────┐ > │TPAR│/users/bobtherriault/tabula-user/ttarchive │ > ├────┼────────────────────────────────────────────┤ > │TPAT│/users/bobtherriault/j901/addons/math/tabula│ > ├────┼────────────────────────────────────────────┤ > │TPCA│/users/bobtherriault/j901/addons/math/cal │ > ├────┼────────────────────────────────────────────┤ > │TPCL│/users/bobtherriault │ > ├────┼────────────────────────────────────────────┤ > │TPMC│/users/bobtherriault/j901/addons/math/cal │ > ├────┼────────────────────────────────────────────┤ > │TPMT│/users/bobtherriault/j901/addons/math/tabula│ > ├────┼────────────────────────────────────────────┤ > │TPMU│/users/bobtherriault/j901/addons/math/uu │ > ├────┼────────────────────────────────────────────┤ > │TPNG│/users/bobtherriault/j901/addons/math/tabula│ > ├────┼────────────────────────────────────────────┤ > │TPSA│/users/bobtherriault/j901/addons/math/cal │ > ├────┼────────────────────────────────────────────┤ > │TPTA│/users/bobtherriault/j901/addons/math/tabula│ > ├────┼────────────────────────────────────────────┤ > │TPTT│/users/bobtherriault/tabula-user │ > ├────┼────────────────────────────────────────────┤ > │TPUC│/users/bobtherriault/j901/addons/math/uu │ > ├────┼────────────────────────────────────────────┤ > │TPUF│/users/bobtherriault/j901/addons/math/uu │ > ├────┼────────────────────────────────────────────┤ > │TPUM│/users/bobtherriault/j901/addons/math/uu │ > ├────┼────────────────────────────────────────────┤ > │TPUT│/users/bobtherriault/j901/addons/math/tabula│ > ├────┼────────────────────────────────────────────┤ > │TPUU│/users/bobtherriault/j901/addons/math/uu │ > └────┴────────────────────────────────────────────┘ > > > On Jun 7, 2019, at 1:11 PM, Ian Clark <[email protected]> wrote: > > > > Please use pacman to upgrade math/uu to 2.1.23 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
