In my native code, I would like to be able to get a printable
representation of a Value_P as if ⎕PW was set to some very large value
(effectively unlimited).
What is the most efficient way to do this?
I was trying to call assign on the return value from
Workspace::get_v_Quad_PW(), but I got a DOM
If I type the following:
*'foo*
It is parsed as:
*'foo'*
Instead of giving an error. Is this expected behaviour? To me, it would
make much more sense if this was flagged as a syntax error.
Regards,
Elias
Hello Juergen,
Yes, escape sequences can be sent to the terminal through the normal
interpreter, ⎕ and ⍞ output mechanisms but there are currently
limitations with all three. Normal interpreter and ⎕ output appends a
new-line character that prevents the programmer from maintaining cursor
Hi,
I have changed the parser to degrade / and friends from operator to
function in the examples below.
One remaining case is (with / any of / ⌿ \ or ⍀):
S//B
where the left / is a function when S is a value and and an operator if
S is a
function (which is not known at parse time). The bind
Hi Elias,
The name of a Symbol uniquely identifies a symbol within one Workspace
(and there is only one Workspace).
The only cases where the pointer changes is when a new workspace with
the same symbol name
is loaded or when the symbol is explicitly )ERASEd or ?EXed.
I all these cases you
Hi Thomas,
single-expression lambdas should work already in the latest SVN version,
only the documentation is missing.
Multi-line and multi-statement lambdas will not be implemented because I
believe they are awkward and turn APL into a different language.
/// Jürgen
On 02/17/2014 12:54 PM, b
Hi Jean-Pierre,
I believe I found the reason for this problem, see SVN 132.
When the workspace is )LOADed or )COPYed and ⎕NLT is assigned.
Assigning ⎕NLT calls setlocale(), which in turn seems to mess up
libreadline.
As of SVN 132:
* ⎕NLT is not assigned when )LOADing a workspace,
* when ass
Hi Fred,
I believe you simply need to create the sequence and insert it into the
other text as appropriate, eg:
ESCSEQ←(⎕UCS 27),'[0;35;48m'⍝ RED foreground
'Hello',ESCSEQ,'World'
HelloWorld
Note that ⎕UCS is more portable than ⎕AV or ⎕AF.
/// Jürgen
On 02/14/2014 10:04 PM
Hi Thomas,
I have found the root cause of your problem. It was non-ASCII characters
(é) in the filename
/home/thomas/Téléchargements/GNUAPL/trunk/workspaces/CONTINUE
I have fixed this in SVN 130. There might be more such cases; pleas keep
reporting them.
/// Jürgen
On 02/16/2014 11:22 A