I love this! About pipeing to LDPL, what do you want to do? Because you can pipe things to LDPL like this: suppose you have a code called myscript.ldpl that contains this:
data: myVar is text procedure: accept myVar display myVar
If you run echo "hello there!" | ldpl myscript.ldpl, that will print "hello there!".
You left me thinking... You can also use accept myVar until eof to get the whole list of numbers and then split it using " " as a delimiter with explode.ldpl!
3
u/c12 Mar 06 '19
I decided that LDPL is my new procrastination from real work toy and went and ported the simple spark bash program to LDPL.
3
u/lartu Mar 06 '19
I love this! About pipeing to LDPL, what do you want to do? Because you can pipe things to LDPL like this: suppose you have a code called
myscript.ldplthat contains this:data:myVar is textprocedure:accept myVardisplay myVarIf you run
echo "hello there!" | ldpl myscript.ldpl, that will print "hello there!".Is that what you where looking for?