The Freya Integrated Development Environment

Compiling from Windows Explorer

See also

You don't need to create a project file in order to compile a single Freya source file. You can also use the command line Freya compiler (frc.exe) or even the context menu for the Freya source file from Windows Explorer.

Standalone Freya source files

Freya source files, identified by the fre extension, have two associated verbs in the Windows shell:

Executing the Open command, will load Sharp Blade and the selected file. Executing the Compile command, will load an instance of Sharp Blade in the background, and will compile the standalone file.

Build options for standalone files

In order to provide build options for standalone files, Freya allows this options to be specified as pragmas inside the same file. For instance:

<pragma:References('system.drawing.dll', 'system.windows.forms.dll')>
<pragma:Target('winexe')>

namespace Freya.Demos.RayTracing;

using System, System.Reflection;
// ...

These pragmas are ignored if the file is also compiled as part of a Freya project.

See also

The Integrated Development Environment
Project management
The Code Editor
Keyboard shortcuts
The Freya Programming Language