REPL - Basic usage
Last updated
Last updated
In SkyLine, the REPL is much more different and right now is not the most modern console in the world due to its limited movement ( can not use arrows to go back and fourth ). The REPL within SkyLine however brings some interesting idea such as allowing you to jump into the syntax highlighting version of the REPL, or to just use standard color coding. SkyLine's REPL is easy to use and comes with a set of commands that can make it much more better for you to develop code.
In order to use the repl run the following command once the program is built
this will throw you into the REPL and you will be presented with the following.
The REPl will output the SkyLine banner followed by the type of REPL you are in ( Interpreted or Compiled given SkyLine allows for both ) followed by the version number and name of the language. The program then outputs a prompt for text which can be picked apart into the following pieces.
Name: The name of the programming language is shown, because SkyLine has plans to have multiple versions, it wants to let the user know if it is editing engine configuration, working with engine code, using specific engine's or if it is just standard SkyLine. This prompt is shown like SkyLine|
OS Name: The operating system name is then displayed as your type of operating system and in this case it is linux. The prompt then continues to show parenthesis.
Architecture: The REPL will then display your operating systems architecture that was detected.