Data update

This commit is contained in:
Ingy dot Net 2024-04-20 12:30:13 -07:00
parent aec8ed51b6
commit 29a5eea0d4
128 changed files with 1298 additions and 0 deletions

28
Lang/Stringle/00-LANG.txt Normal file
View file

@ -0,0 +1,28 @@
{{language|Stringle
|exec=interpreted
|gc=no
|parampass=both
|untyped=yes
}}
'''Stringle''' is a simple imperative scripting language based around the manipulation of string variables created by Vacek Nules. Its name is a portmanteau of ''string'' and ''wrangle'', being a language to “wrangle strings”. It supports string assignment and concatenation, loops, conditionals with different ''predicates'' and overloaded, composable functions called ''string operators''.
It has a concise, J-like syntax with single-character operator symbols instead of keywords. Operators are evaluated over strings as functions and are freely composable in arbitrary chains, but some of them can be assigned to as well to modify the string in their argument in various ways.
[[File:Stringle Cheat Sheet.png|thumb]]
Stringle has an extremely simple and basic syntax with only a few primitive operators, easily learnt in just a few hours, yet contains highly powerful ways to amplify and combine the building-block operations, like overloaded operators, function pointers and on-demand creation of extensive function chains.
For a quick example how Stringle looks like, this line of code:
b %.\c #c #:c
could be expanded to the following:
'''if''' b ''contain head reverse'' c '''then set''' ''curtail'' c '''to''' ''length tail'' c
that is, “delete the last character of <code>c</code> if it occurs in the string <code>b</code>”.
It is ideal as a replacement for ''sed'' or ''awk'' for creating and running text processing scripts and filters, or could also be used as the built-in macro language in larger applications.
The complete specification of Stringle can be consulted [https://esolangs.org/wiki/Stringle here].

View file

@ -0,0 +1,2 @@
---
from: http://rosettacode.org/wiki/Category:Stringle

1
Lang/Stringle/100-doors Symbolic link
View file

@ -0,0 +1 @@
../../Task/100-doors/Stringle

1
Lang/Stringle/Nth Symbolic link
View file

@ -0,0 +1 @@
../../Task/Nth/Stringle

View file

@ -0,0 +1 @@
../../Task/Reverse-a-string/Stringle

1
Lang/Stringle/Rot-13 Symbolic link
View file

@ -0,0 +1 @@
../../Task/Rot-13/Stringle

1
Lang/Stringle/String-length Symbolic link
View file

@ -0,0 +1 @@
../../Task/String-length/Stringle

View file

@ -0,0 +1 @@
../../Task/Strip-a-set-of-characters-from-a-string/Stringle