[Bug-apl] aplwrap: error with function with blank lines

2014-10-08 Thread Blake McBride
If you edit a function with blank lines, you get the following error on the
*console* for each blank line that exists:

(aplwrap:30307): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
'g_utf8_validate (text, len, NULL)' failed

Thanks.

Blake


[Bug-apl] Parse problem

2014-10-08 Thread Blake McBride
I am debugging a different bug and came across this:

  ⌽∨\⌽'' ''∨.≠x←2 3⍴'A  BBB'

*** Attempt to start a new joblist at ScalarFunction.cc:412 while joblist
from ScalarFunction.cc:412 is not finished


-- Stack trace at Parallel.hh:393

0x7fdfe33f7de5 __libc_start_main
0x43f815  main
0x55af5d   Workspace::immediate_execution(bool)
0x485ed2Command::process_line()
0x47b6c8 Command::do_APL_expression(UCS_string&)
0x48fa58  Executable::execute_body() const
0x50fab0   StateIndicator::run()
0x4bce85Prefix::reduce_statements()
0x4bc2cc Prefix::reduce_MISC_F_B_()
0x4973a3  DerivedFunction::eval_B(Value_P)
0x47356f   Bif_OPER1_SCAN::eval_LB(Token&, Value_P)
0x471b0fBif_SCAN::scan(Function*, Value_P, int)
0x50ab52 Bif_F2_OR::eval_AB(Value_P, Value_P)
0x50599e  ScalarFunction::eval_scalar_AB(Value_P, Value_P,
ErrorCode (Cell::*)(Cell*, Cell const*) const)



I know the double quotes are wrong - but I shouldn't get a backtrace...

Thanks.

Blake


[Bug-apl] or dot ne wrong answer

2014-10-08 Thread Blake McBride
GNU APL:

  ' '∨.≠2 3⍴'A  BBB'
1 0 0


IBM APL 2:

  ' '∨.≠2 3⍴'A  BBB'
1 1 1


Thanks.

Blake