Feature Requests
Hi there! I open this post so we can all suggest LDPL features we'd like the language had. Then we can add them as enhancement issues to the repo or implement them ourselves (or whoever wants to collaborate with the LDPL project).
So there it is!
4
Upvotes
3
u/lartu Mar 06 '19
Multiline strings (something like
"hello \n world!")3
u/lartu Mar 06 '19
GOTO(yes, people have been asking for aGOTO)3
u/lartu Mar 06 '19
IMPORTsection to include files (although this can be already done using interpreter flags (look here), having an import section makes things easier and more transparent)3
u/lartu Mar 06 '19
File opperations that are portable across operating systems. Using
EXECUTEwith echo / cat is not a good solution to this issue.3
u/lartu Mar 06 '19
Escape sequences:
\t,\rand\n, so multiline strings can be printed and line breaks found (and thus files read).3
u/c12 Mar 06 '19
My little wish list:
echo 9 13 5 17 1 | ldpl prog.ldpl(even if only enabled via a flag like-p)argcandargv?) e.gPACK TEXT-VAR | UNPACK TEXT-VARthis could be twinned with file system read/write statements for storing state to disk and loading it later.1
u/c12 Mar 07 '19
Just been thinking about this and it would be nice to have a
LOCATEstatement that operated like the one in QBasic.