See www.Dashrep.org for details about the Dashrep language.
Although Dashrep code is not directly executable, it can generate executable code. Although it does not directly define loops, it generates lists in which any delimited (using commas and/or spaces) list of text strings (including integers) specifies the unique values for the list items. Although the Dashrep language does not directly implement a branching structure, the translated code can be completely changed at any level (including within lists) based on parameterized hyphenated phrases such as [-template-for-move-proposal-link-for-action-[-output-requested-action-]-].
The design goals for the Dashrep language were:
- Provide a convenient way to move descriptive code out of executable code.
- Keep it simple, and keep it flexible.
- Make the language speakable. (This characteristic is useful for various purposes, including circumventing keyboard-induced repetitive-stress injury, and using microphone-equipped mobile devices.)
- Note about Version 2 and later: These versions, if they are from GitHub instead of CPAN, can be used without the CPAN envioronment. The GitHub version only needs the Perl interpreter, which means that on the Windows operating system only the perl.exe and perl512.dll and libgcc_s_sjlj-1.dll files (or their more-recent equivalents) are needed.
The following sample code executes the Dashrep-language actions specified in the standard input file.
Language::Dashrep is a Perl module also supports direct access to functions that define Dashrep phrases, expand text that contains Dashrep phrases, and more.