Interactive programming (repl): Difference between revisions
Content added Content deleted
(Update Lang example: Fix spelling of Lang and update content) |
|||
Line 782: | Line 782: | ||
=={{header|Lang}}== |
=={{header|Lang}}== |
||
This example works with the LangShell from the Standard Lang implementation. |
This example works with the LangShell from the Standard Lang implementation. |
||
The |
The LangShell can be started with (The LangShell does not run in the OS's shell, it will open a separate window): |
||
<syntaxhighlight lang="shell"> |
<syntaxhighlight lang="shell"> |
||
$ lang -startShell |
$ lang -startShell |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
<syntaxhighlight lang="lang"> |
<syntaxhighlight lang="lang"> |
||
Lang-Shell - Press CTRL + C for cancelling execution or for exiting! |
|||
• Copy with (CTRL + SHIFT + C) and paste with (CTRL + SHIT + V) |
• Copy with (CTRL + SHIFT + C) and paste with (CTRL + SHIT + V) |
||
• Press CTRL |
• Press CTRL + S for saving all inputs to a .lang file (Save) |
||
• Press CTRL + SHIFT + S for saving all inputs to a .lang file (Save As...) |
|||
• Press CTRL + I for opening the special char input window |
|||
• Press CTRL + SHIFT + F for opening a file chooser to insert file paths |
|||
• Press UP and DOWN for scrolling through the history |
• Press UP and DOWN for scrolling through the history |
||
• Press TAB and SHIFT + TAB for scrolling trough auto complete texts |
• Press TAB and SHIFT + TAB for scrolling trough auto complete texts |
||
Line 805: | Line 807: | ||
Lang-Shell - Press CTRL + C for cancelling execution or for exiting! |
Lang-Shell - Press CTRL + C for cancelling execution or for exiting! |
||
• Copy with (CTRL + SHIFT + C) and paste with (CTRL + SHIT + V) |
• Copy with (CTRL + SHIFT + C) and paste with (CTRL + SHIT + V) |
||
• Press CTRL |
• Press CTRL + S for saving all inputs to a .lang file (Save) |
||
• Press CTRL + SHIFT + S for saving all inputs to a .lang file (Save As...) |
|||
• Press CTRL + I for opening the special char input window |
|||
• Press CTRL + SHIFT + F for opening a file chooser to insert file paths |
|||
• Press UP and DOWN for scrolling through the history |
• Press UP and DOWN for scrolling through the history |
||
• Press TAB and SHIFT + TAB for scrolling trough auto complete texts |
• Press TAB and SHIFT + TAB for scrolling trough auto complete texts |