[Bug-apl] Regex support

2017-09-19 Thread Elias Mårtenson
On several occasions, I have felt that built-in regex support in GNU APL would be very helpful. Implementing it should be rather simple, but I'd like to discuss how such an API should look in order for it to be as useful as possible. I was thinking of the following form: regex ⎕Regex strin

Re: [Bug-apl] cast from pointer to smaller type 'int'

2017-09-19 Thread Xiao-Yong Jin
Should have got back to you sooner, but static_cast is not allowed between pointer types and non-pointer types. Thread_context.cc:73:11: error: static_cast from 'pthread_t' (aka '_opaque_pthread_t *') to 'int' is not allowed << static_cast(thread) ^~~~ I nee