Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Fibonacci

< >

Fibonacci is a programming language created in 1991 by Antonio Albano and Giorgio Ghelli and and Renzo Orsini.

#1894on PLDB 33Years Old


Example from the web:
let john = role Person private let address = var ("Darwin road, 123 - London") ;5 methods Name = "John Daniels"; BirthYear = 1967; Age = currentYear() - me.BirthYear; Address = at (address); modAddress (newAddress: String) = if stringLength(newAddress) <= 0 then failwith "incorrect address" else address := newAddress Introduce = "My name is " & me.Name & "and I was born in " ~ intToString(me.BirthYear); end;

Language features

Feature Supported Token Example
MultiLine Comments (* *)
(* A comment
*)
Comments
(* query examples *)
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 626 · feedback@pldb.io