Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Finite State Language

< >

Finite State Language is a programming language created in 2016.

#2132on PLDB 8Years Old
REPL

Finite State Language, or FSL (pronounced "fossil,") is a programming language to make complex Finite State Machines easy to create and maintain. Finite State Machines can help make your code simpler, easier to test, more provable, and easier to reason about.


Example from the web:
machine_name: "Traffic light"; flow: down; arrange [Green Yellow]; Off 'Enable' -> Red; Red 'Next' => Green 'Next' => Yellow 'Next' => Red; [Red Yellow Green] ~> Off; // visual styling state Red : { background-color: pink; corners: rounded; }; state Yellow : { background-color: lightyellow; corners: rounded; }; state Green : { background-color: lightgreen; corners: rounded; }; state Off : { background-color : steelblue; text-color : white; shape : octagon; linestyle : dashed; };

Language features

Feature Supported Example Token
Comments // A comment
Line Comments // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0