
FunL
FunL is simple dynamically typed, functional programming language.
It's interpreted language with support for concurrency and immutable data.
FunL is implemented with Go.
Get started
Install
Prerequisite is to have Go language environment available.
Install in Linux (or Cygwin, Mac)
git clone https://github.com/anssihalmeaho/funl.git
cd funl
make
Run hello world example:
./funla -silent examples/hello.fnl
Hello World
Install in Windows
git clone https://github.com/anssihalmeaho/funl.git
cd funl
go build -trimpath -o funla.exe -v .
Run hello world example:
funla.exe -silent examples\hello.fnl
Hello World
There are also other examples in examples folder.
Getting help and try expressions
Options: -help, -h
In Linux (or Cygwin, Mac)
./funla -help
In Windows
funla.exe -help
REPL (Read-Eval-Print-Loop)
In Linux (or Cygwin, Mac)
./funla -repl
In Windows
funla.exe -repl
In REPL type help for more information.
Check REPL usage for more hints.
Options: -eval
./funla -eval "plus(1 2)"
3
With -eval option any FunL expression can be given as argument.
Expression is evaluated and result is printed.
help operator
help operator can be used to get list of operators:
./funla -eval "help('operators')"
help operator provides description for each operator:
./funla -eval "help('if')"
in REPL:
./funla -repl
Welcome to FunL REPL (interactive command shell)
funl> help('if')
Language and Standard library descriptions
Contribution and development guidelines
Guide for contributing and developing FunL
Blog
There is Blog for FunL related topics: https://programmingfunl.wordpress.com