Skip to main content

Posts

Showing posts from January, 2020

Post 2: Hello World! Program

Hello World! F4 IDE The official F4 IDE is no longer maintained by the original creators but can be attained from the Xored website, or an updated open source copy is available on Github .  The Windows version of the F4 IDE works fine for me, however I was unable to get the MacOS version to launch so working with this IDE on a Mac may prove to be a challenge. If you are familiar with the Eclipse platform then F4 will look rather familiar. F4 is based on the Eclipse platform and functions relatively similar, just without a useful dark theme. The default window configuration for F4 is almost identical to that of Eclipse and is fully customizable. The 'Fantom Explorer' on the left contains the file tree for all of your projects in your workspace. On the right, there is an 'Outline' view which shows the outline for the current Fantom Class file that you are working on including methods and functions. The 'Console' window and 'Error Log' window a...

Post 1: Background Information and Resources

Language Background Fantom is an object-oriented programming language designed to work in both the Java Runtime Environment and in the .NET Common Language Runtime while providing a more refined API that maintains much of the same functionality.  Fantom's syntax is relatively similar to that of Java and C# while refining certain aspects of the syntax for functionality and simplicity.  System.out.println("Hello world!"); becomes  echo("Hello world!") Fantom is designed to be portable between the Java and .NET VMs while also holding support for being compiled to JavaScript for browser use, making Fantom versatile.  Creators Fantom was created in 2005 by Brian Frank and Andy Frank and was originally named Fan. When the language began to gain some popularity, the name was changed to Fantom in order to address concerns about the ability to search for resources on a language named "Fan". The creators say that Fantom was created in orde...