The Compiler is the core piece of the Elements tool chain, as it is the part that takes one or more source files (written in the Oxygene, C#, Swift, Java, Go or Mercury programming languages) and turns it into executable code for one of the supported Platforms.
The most common use case is to use the compiler embedded into a development environment or IDE, of which we provide two: our own Fire for developers on Mac and Water or Microsoft's Visual Studio for developers on Windows (all languages and all target platforms are supported from all three IDEs).
But you can also use the compiler from the Command Line and integrated with our EBuild build chains and command line tool, to use Elements without an IDE, for example for automated builds and continuous integration, or on Linux.
This section covers various topics about interacting with the compiler directly. For discussion about the different languages, please refer to the language sections instead.
- Compiler Directives
- Standard Conditional Defines
- MSBuild (.NET) and xbuild (Mono) legacy build toolchain
- Languages: Oxygene, C#, Swift, Java, Go or Mercury
- Platforms: .NET, Cocoa, Android, Java, Windows, Linux, WebAssembly
- The Compiler in IDEs: Fire & Water, Visual Studio