Socordia
  • Intro
    • The Compiler
  • The Basics
    • Variables
      • Arrays
    • Conditional Flow
    • Loops
    • Functions
    • Data
      • Casting
      • Enumerations
      • Ranges/Aliases
      • Structs
      • Tuples
      • Unit of Measure Types
  • Mixins
  • Accessibility
  • Primitive Datatypes
  • Extended
    • Conditional
    • Inline IL
    • Operator Overloading
    • Unions
    • OOP
      • Classes
      • Interfaces
Powered by GitBook
On this page

The Basics

In this section you will learn the absolute basic knowledge needed to write simple applications with Socordia.

To write something out to the console:

func main() {
    print("Hello World");
}

A program has to have an entry point method called main.

PreviousThe CompilerNextVariables

Last updated 5 months ago