Polar is an interpreter written in Ruby for the Arctic programming language. It is equivalent to Andrew Toolchain, which is also an interpreter, although it was written in TypeScript for the Titanium programming language, developed by the same author. It is in its very early development stages, just like Arctic itself, so it might not support it fully yet.

Language it interprets Arctic
Category CLI
Created by AndrewNation
Current version 0.0.2
Written in Ruby

💻 SYSTEM REQUIREMENTS

💻USING POLAR

To use Polar, just download Arctic source code from its official repository, and then navigate to the src folder (if you are in the root of Arctic’s source code folder, just use the cd src command). From there, run ruby arctic.rb and then the Arctic interpreter should have opened. You can type any Arctic command there and the interpreter will probably understand and execute it, as long as its syntactically correct. Please keep in mind that Arctic is a typed language, so the types of variables and constants should match their contents, otherwise you’d get an error.

🗂️OPENING AN ARCTIC SOURCE FILE IN POLAR

To open an Arctic source file and run it in Polar, you can use the command exec followed by the path to the file you want to execute. You should make sure it ends with .ice, which is the default file extension for Arctic source files. Example:

exec file.ice

Since Arctic is an interpreted language, any programs will be executed line by line. If Polar finds an error in any of the lines, it will throw an error and the execution will stop immediately.