q-doc icon indicating copy to clipboard operation
q-doc copied to clipboard

system d command

Open derfugu opened this issue 10 years ago • 0 comments

I find that parsing fails entirely when the system "l" command is present, i.e. the first one fails whereas the second one works

$ cat test.q system "d"; / print hello world .test.f:{show "hello world";};

$ cat test.q /system "d"; / print hello world .test.f:{show "hello world";};

This is an issue since a) not using system "d" to go into a context means you have to qualify every function name (which I don't actually mind so much, it's a bit tedious but it's more explicit so has its own advantages) but b) you may not always have control over loaded libraries.

In my case I am loading a q script which is external to me which makes use of the system "l" command. That fails my parser entirely.

derfugu avatar Nov 11 '15 07:11 derfugu