Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.javascript Subject: Strudel Coding in Dogelog Player (Was: Interpreting Arrows in Dogelog Player) Date: Sun, 23 Nov 2025 22:23:51 +0100 Message-ID: <10fvu17$ic8h$2@solani.org> References: <10dnnh5$lh95$3@solani.org> <10dsmmg$ohv3$2@solani.org> <10efu93$207$1@solani.org> <10f0j1v$anr3$1@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 23 Nov 2025 21:23:51 -0000 (UTC) Injection-Info: solani.org; logging-data="602385"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.22 Cancel-Lock: sha1:oXTNxWBO9HC6SWPVlcYutXreXoY= In-Reply-To: <10f0j1v$anr3$1@solani.org> X-User-ID: eJwFwQEBwCAMAzBL22nLkMOA+pfwhEOpMyEKNB3OwpKblXt+34ZDy5GWH3Ig8Rbva50+mFIwu4O3OFj7/T1TFQU= Xref: csiph.com comp.lang.javascript:124417 Hi, The myster of life isn’t a problem to solve, but a reality to experience - Herbert Frank, Dune While toying arround with our new arrow functions. We found that our Dogelog Player DCG implementation does only provide (-->)/2 and not yet phrase/3. Luckily the step from (-->)/2 to phrase/3 is relatively small, and the upcoming release will feature this predicate. It turns out it can be used for Strudel style music coding. After going through some rather dry scholarly topics such as set versus tuple oriented processing, we were suddently immersed in Strudel style music coding by passing around oscillator events inside a Dogelog Player notebook. Although we could not demonstrate the same live feedback as Strudel does, one can perceive the magic of composing pipelines by earshot proximity. Bye See also: Strudel Coding in Dogelog Player https://medium.com/2989/bbb9c78fcd67 Mild Shock schrieb: > Hi, > > Dogelog Player has now arrow functions using a > (=>)/2 operator. The semantics is different from > other offerings and based on ISO core standard > witness calculation [7.1.1.4]. Its genesis is > tied to formerly Jekejeke Prolog where we already > experimented with this semantics. > > Departing from formerly Jekejeke Prolog we also > provide ahead of time compilation. It turns out > that this gives a better semantics, that can > solve problems such as mutual recursion and > nested arrows. We present a refinement for > interpretative use, that shares the same properties. > > Nested functions have become quite popular in > programming languages such as Python and JavaScript. > More impressive inner functions can be returned > as values and can then serve as closures for > their outer context. Starting from variant > keys and a new unnumbervars/3 predicate, we > demonstrate the same for our preprocessed and > then interpreted '$ANON'/n compounds. > > Bye > > See also: > > Interpreting Arrows in Dogelog Player > https://qiita.com/j4n_bur53/items/c67a660f3e52dd1ba448