Replies: 4 comments
-
Yes it'd be great to make progress on this! As I think I describe in that paper, a tricky bit is formalising sequences, and how they relate to patterns as functions of time, so sequences can be embedded in patterns (as with the mininotation in haskell) and vice-versa (as with embedding named patterns in the mininotation with I think it'd be difficult to get right in javascript without getting a prototype running in a more strongly typed language like Haskell first. I have in mind to look into it this summer. |
Beta Was this translation helpful? Give feedback.
-
A DSL without |
Beta Was this translation helpful? Give feedback.
-
@felixroos @yaxu I am basically converting "maxi notation" strings into lua ASTs(see metalua-AST) and turning them valid lua source strings (even bytecode is possible after some research) and loading them on the fly. The parser is basically my mini-notation one added with some function calling syntax. lua is maybe not the best language to design a new language in, but it could be quick and easy to explore in it. |
Beta Was this translation helpful? Give feedback.
-
Some time ago, I stumbled across Alternate Timelines for TidalCycles, where this snippet of pseudo code is shown:
I really like the idea of having a single language that combines terseness and functionality.
From my perception, this looks like the logical continuation of the Tidal language:
Having a DSL would allow Tidal to mature from a loosely consistent multi language implementation, to a real language specification, allowing to implement it in different languages with a clearly defined feature set.
I don't know if strudel is the right place to approach this, but we could try out different ideas based on the strudel peg grammar for the mini notation, which also contains some haskelly type syntax.
I wonder how much effort has already put into this idea, and if there are more concrete ideas on the syntax
For alternatives to "maxi notation", check out https://www.wordhippo.com/what-is/the-opposite-of/mini.html :)
Some of my "favorites"
Beta Was this translation helpful? Give feedback.
All reactions