Many language implementations come with an interactive mode.

This is a command-line interpreter that reads lines from the user and evaluates these lines as statements or expressions.

An interactive mode may also be known as a command mode,   a read-eval-print loop (REPL),   or a shell.



Task

Show how to start this mode.

Then, as a small example of its use, interactively create a function of two strings and a separator that returns the strings separated by two concatenated instances of the separator   (the 3rd argument).



Example

             f('Rosetta',  'Code',  ':')   

should return

             'Rosetta::Code'               



Note

This task is   not   about creating your own interactive mode.




➜  $ arturo 

Arturo
(c) 2019-2021 Yanis Zafirópulos

# v/0.9.6.5 b/1097 @ 2021-02-09T16:40:43+01:00
# arch: amd64/macosx

# Type info 'symbol for info about a specific symbol or built-in function
# Type help to get a list of all available functions with a short description
# For multi-line input, just add a blank space at the end of a line

# Launching interactive console - rock on! 🤘

$> f: function [x y sep]-> x ++ (repeat sep 2) ++ y

$> f "Rosetta" "Code" ":"
=> Rosetta::Code

$>