Skip to content
/ flan Public

A high-level, dynamically- and strongly-typed, impure functional programming language with a stack-based VM

License

Notifications You must be signed in to change notification settings

bichanna/flan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Flan Programming Language


WARNING!! THIS LANGUAGE IS IN DEVELOPMENT

Functional LANguage is a high-level, dynamically- and strongly-typed, functional programming language that runs on a virtual machine. Flan is my high school Computer Science project written in C++.


Almost nothing works currently... See the TODO list here.

std := import(:std)

names := ["Tsoding", "ThePrimeagen", "Fireship"]
std::for(names) ::: (name)
  std::println("I substribe to {{}}!", name)
{println: println} := import(:std)

fn fib(n)
  if (n < 2)
    n
  else
    fib(n - 1) + fib(n - 2)

println("Result: {{}}", fib(12))

About

A high-level, dynamically- and strongly-typed, impure functional programming language with a stack-based VM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages