Home   Downloads   Tutorial   Screenshots   Getting Started   FAQ   Support   RSS feed

Free counters! Locations of visitors to this page

FormulaOne Sample Source Code

This page contains an assorted mix of Formula One sample source codes, listed in no particular order.

Some more source code samples:

Magic Squares

Magic Cubes

Rosetta Code Problems

Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible. The following problems were posted on the Rosetta Code web site and solutions coded in various programming languages.

Dell Logic Puzzles

The following word puzzles were copied from Doug Edmund's web page Learn Constraint Logic Programming With Logic Puzzles. This page offers a nice introduction to solving logic puzzles and contains dozens of various word puzzles ranging from simple to difficult with corresponding solutions programmed in ECLiPSe and B-Prolog. By following the links below you can find some of these puzzles solved using Formula One. These puzzles present a unique opportunity to compare syntax of Formula One, B-Prolog and ECLiPSe. The number of stars shown reflects the puzzle difficulty.

Enigma Problems

The following "Enigma" problems were published by the New Scientist magazine.

The sample programs were converted into HTML format by F1toHTML.
If you would like to submit sample source code, contact support@f1compiler.com.

AddThis Social Bookmark Button

Last updated: October 2, 2015

Valid XHTML 1.0 Transitional