From Newsgroup: comp.lang.java.programmer
Hi,
The myster of life isnrCOt 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
--- Synchronet 3.21a-Linux NewsLink 1.2