Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Selenium - A Functional Programming Language  (Read 1210 times)


  • Bay Watcher
    • View Profile
    • Kytuzian - Youtube
Selenium - A Functional Programming Language
« on: April 16, 2014, 03:19:26 pm »

This is more of a learning experience than anything else, the language is very slow. I hereby take absolutely no responsibility whatsoever for anything ever that ever has to do with this language. With those warnings out of the way:


Selenium is a functional programming language created by me, and you can view the source here, or download the interpreter here. Its syntax is loosely based on other functional languages such as Haskell and Lisp. It also has arbitrary precision arithmetic which is one of the major causes of the language being so slow, although I think it is a very useful feature. I recently made several improvements to the code for it, so the preformances mentioned in the overview videos are a little off.

There are almost no types at all in the language, as everything is considered to be a list (therefore the number 1 would be a list of length 1). The only sort of type-like function is  that parameters can be specified to be lists, which will be explained more below.


Overview Videos:
Part 1:
Part 2:


Quick Tutorials:
Spoiler (click to show/hide)
Spoiler (click to show/hide)

Spoiler (click to show/hide)
« Last Edit: May 13, 2014, 07:32:19 pm by kytuzian »