marcie's cloud

foxglove

Foxglove is a language focused on readability and simplicity.

Hello world example:

import foxglove:io

function main()
  print_line("Hello, world!")
end

devlogs

news

syntax overview

Table of contents: variables functions

variables

Variables are described with this syntax: scope identifier: Type = value If a scope is not provided, it is assumed local. If a type is not present, the variable must be initialised to a value, so the compiler can infer a type.

Note: it is best practice to let the compiler infer a type, especially when it is obvious.

functions