The Freya Programming Language

The Freya Programming Language

See also

Freya is a pure object oriented language, running in the .NET Framework. Its syntax is loosely inspired in the ALGOL/Pascal/Delphi family of programming languages.

In this section

Program and file structure

Freya source files has a sensible file structure, specially designed with Object and Component Oriented Programming in mind.

Type declarations

Freya supports all features from the .NET Framework. Applications and class libraries written in Freya perform as first class citizens in the Common Language Runtime. You can design and implement classes, records, interfaces, enumerations and delegates, all of them in their generic and non generic variants.

Type members

Component Oriented Programming requires a plethora of special type members, and Freya supports them all without restrictions: from the classical fields, methods and constructors, to properties, indexers and events, including newer and exotic members like iterators. It even offers you techniques that goes beyond the typical .NET language, with features like interface delegation.

Statements

Freya provides a powerful and elegant statement syntax, and you won't miss any of the required statements: numerical for loops, for/in iteration, using statements for helping with resource protection and disposal, full exception handling including a fault statement, infinite loops, inline and block variable declarations, case selectors on integer, enumerative and string expressions, lock statements for thread syncronization... Just say the name: we have it.

Expressions

Freya has a rational and more sensible expression syntax, designed to help the programmer; not the compiler.

See also

A formal grammar for Freya
The Integrated Development Environment
Home