Re: [Bug-apl] Parse problem

2014-10-09 Thread Juergen Sauermann

  
  
Hi Blake,
  
  thanks, fixed in SVN 484.
  
  /// Jürgen
  
  

On 10/08/2014 10:52 PM, Blake McBride
  wrote:


  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)
  0x485ed2  
   Command::process_line()
  0x47b6c8    
  Command::do_APL_expression(UCS_string&)
  0x48fa58    
   Executable::execute_body() const
  0x50fab0      
  StateIndicator::run()
  0x4bce85      
   Prefix::reduce_statements()
  0x4bc2cc        
  Prefix::reduce_MISC_F_B_()
  0x4973a3        
   DerivedFunction::eval_B(Value_P)
  0x47356f          
  Bif_OPER1_SCAN::eval_LB(Token&, Value_P)
  0x471b0f          
   Bif_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


  


  




Re: [Bug-apl] or dot ne wrong answer

2014-10-09 Thread Juergen Sauermann

  
  
Hi Blake,
  
  thanks, fixed in SVN 484.
  
  /// Jürgen
  
  

On 10/08/2014 11:02 PM, Blake McBride
  wrote:


  GNU APL:



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





IBM APL 2:



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





Thanks.


Blake




  


  




Re: [Bug-apl] Parse problem

2014-10-09 Thread Blake McBride
Looks good.  Thanks!

On Thu, Oct 9, 2014 at 7:46 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:

>  Hi Blake,
>
> thanks, fixed in SVN 484.
>
> /// Jürgen
>
>
>  On 10/08/2014 10:52 PM, Blake McBride wrote:
>
> 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
>
>
>


Re: [Bug-apl] or dot ne wrong answer

2014-10-09 Thread Blake McBride
Look good.  Did you add this to your test cases?

Thanks.

Blake


On Thu, Oct 9, 2014 at 7:46 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:

>  Hi Blake,
>
> thanks, fixed in SVN 484.
>
> /// Jürgen
>
>
>  On 10/08/2014 11:02 PM, Blake McBride wrote:
>
> GNU APL:
>
>' '∨.≠2 3⍴'A  BBB'
> 1 0 0
>
>
>  IBM APL 2:
>
> ' '∨.≠2 3⍴'A  BBB'
> 1 1 1
>
>
>  Thanks.
>
>  Blake
>
>
>
>


Re: [Bug-apl] or dot ne wrong answer

2014-10-09 Thread Juergen Sauermann

  
  
Hi Blake,
  
  yes.
  
  /// Jürgen
  
  

On 10/09/2014 02:58 PM, Blake McBride
  wrote:


  Look good.  Did you add this to your test cases?


Thanks.


Blake



  On Thu, Oct 9, 2014 at 7:46 AM,
Juergen Sauermann 
wrote:

   Hi Blake,
  
  thanks, fixed in SVN 484.
  
  /// Jürgen
  
  


  
On 10/08/2014 11:02 PM, Blake McBride wrote:


  GNU APL:



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





IBM APL 2:



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





Thanks.


Blake




  


  

  

  
  

  


  




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

2014-10-09 Thread David B. Lamkins
Thank you. Fixed and pushed.

On Wed, 2014-10-08 at 14:30 -0500, Blake McBride wrote:
> 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
> 
> 





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

2014-10-09 Thread Blake McBride
Now getting this error when editing a file with blank lines:

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

Thanks.

Blake


On Thu, Oct 9, 2014 at 12:31 PM, David B. Lamkins 
wrote:

> Thank you. Fixed and pushed.
>
> On Wed, 2014-10-08 at 14:30 -0500, Blake McBride wrote:
> > 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
> >
> >
>
>
>


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

2014-10-09 Thread David Lamkins
I don't see it. Please provide the sequence of steps you followed.


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

2014-10-09 Thread Blake McBride
Create a new object that looks like this:

abc

def


Note the blank line between 'abc' and 'def'.  Now save it.  Then open the
object - the error occurs.

Thanks.

Blake


On Thu, Oct 9, 2014 at 3:13 PM, David Lamkins  wrote:

> I don't see it. Please provide the sequence of steps you followed.
>


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

2014-10-09 Thread David Lamkins
I'm unable to reproduce this. I'll keep an eye open for its appearance on
my machines.

On Thu, Oct 9, 2014 at 1:18 PM, Blake McBride  wrote:

> Create a new object that looks like this:
>
> abc
>
> def
>
>
> Note the blank line between 'abc' and 'def'.  Now save it.  Then open the
> object - the error occurs.
>
> Thanks.
>
> Blake
>
>
> On Thu, Oct 9, 2014 at 3:13 PM, David Lamkins  wrote:
>
>> I don't see it. Please provide the sequence of steps you followed.
>>
>
>


-- 
"The secret to creativity is knowing how to hide your sources."
   Albert Einstein


http://soundcloud.com/davidlamkins
http://reverbnation.com/lamkins
http://reverbnation.com/lcw
http://lamkins-guitar.com/
http://lamkins.net/
http://successful-lisp.com/