Hi all!

I am not sure I understood this fully, but I understand that I could create a parser in J so that I could write explicit J code and get a tacit result. I just want it included in the J language. As we can see here, Jpp addresses another tacit J problem with the 'double/multi adverbs' extension:
https://github.com/Pascal-J/jpp
This problem is not that visible if not most of your code is chains of conjunctions, like in tacit J.

Cheers,
Erling Hellenäs


On 2017-09-26 19:53, 'Pascal Jasmin' via Programming wrote:
jpp provides an easy way to embed quotes (though I could rethink/change order 
of operations to simplify embedding)

quotes is the essence of any dsl, but you/we want to avoid the tedium of 
escaping quotes at many levels.

in jpp, this expression contains an explicit definition within another

      x + (+: y bb. 3.. y bb. 4..


4 : 'x + ''+: y'' bb ( 3 : ) y'


  x + (+: y bb. 3.. y bb. 4../2 3
  'x + ''+: y'' bb ( 3 : ) y' bb ( 4 : ) / 2 3

8

the remaining bb is harmless, though a better dsl parser might tunnel into the 
dsl definition looking for specific sub-dsl definitions that is relevant to it.

Basically if you can make a tacit-v adverb that takes a string as parameter 
(called say TV), then jpp lets you integrate it into J code with auto-quoting 
and auto-paren balancing by calling it with TV. , or if it were a verb TV:



quotes is the right delimiter compared to {} (due to existing J meaning of 
those).  Its a matter of reducing the annoyance of quotes IMO.   It looks like 
you want to compile your t-v expressions into J code, and jpp is suited for 
this too.

   From: Erling Hellenäs <[email protected]>
To: [email protected]
Sent: Tuesday, September 26, 2017 7:26 AM
Subject: [Jprogramming] Tacit Expressions with Explicit J Syntax



Hi all !


I entered a request for tacit expressions with explicit J syntax.


http://code.jsoftware.com/wiki/System/Interpreter/Requests#Tacit_expressions_with_explicit_J_syntax


I use J only for fun so I am not going to finance development, but maybe

others want to. As I see it it would solve most of the problems we

struggle with daily since 20 years or something.


Cheers,


Erling Hellenäs




----------------------------------------------------------------------

For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to