Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
OPSYN('SAME','IDENT')
OPSYN('$','*',1)

View file

@ -0,0 +1 @@
OPSYN('F','*',1)

View file

@ -0,0 +1,9 @@
&ANCHOR = 0 ; &TRIM = 1
WORD = BREAK(' .,') . W SPAN(' .,')
STRING1 = INPUT :F(ERROR)
STRING2 = INPUT :F(ERROR)
LOOP STRING1 WORD = :F(OUTPUT)
STRING2 ' ' W ANY(' .,') :F(LOOP)
LIST = LIST W ', ' :(LOOP)
OUTPUT OUTPUT = LIST
END

View file

@ -0,0 +1,10 @@
&ANCHOR = 0 ; &TRIM = 1
WORD = BREAK(' .,') . W SPAN(' .,')
FINDW = ' ' *W ANY(' .,')
STRING1 = INPUT :F(ERROR)
STRING2 = INPUT :F(ERROR)
LOOP STRING1 WORD = :F(OUTPUT)
STRING2 FINDW :F(LOOP)
LIST = LIST W ', ' :(LOOP)
OUTPUT OUTPUT = LIST
END

View file

@ -0,0 +1,8 @@
* This example provides a bizarrely-expensive addition operation.
* It assumes the existence of an expensive procedure—say a database
* lookup—to extract the value to be added. This version uses the
* typical initialize-on-definition approach to implementation.
DEFINE('XADD(X)','XADD')
ADDVALUE = CALL_SOME_EXPENSIVE_OPERATION() :(XADD.END)
XADD XADD = X + ADDVALUE :(RETURN)
XADD.END

View file

@ -0,0 +1,5 @@
DEFINE('XADD(X)','XADD.INIT') :(XADD.END)
XADD.INIT ADDVALUE = CALL_SOME_EXPENSIVE_OPERATION()
DEFINE('XADD(X)','XADD')
XADD XADD = X + ADDVALUE :(RETURN)
XADD.END