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

FuncSug

< >

FuncSug is an open source programming language created in 2022 by Claude Lion.

#1572on PLDB 4Years Old
Download source code:
git clone https://github.com/cl4cnam/funcSug
Homepage · REPL · Try It Online · Source Code

FuncSug is a simple alternative to event-driven programming and game loops. It features deterministic structured concurrency, waiting of a determinate event and automatic branch cancellation.


Example from the web:
parallel exitAfter 1 finished: while true: waitSeconds(2) displayNewMessage('Hello, World!') awaitClick('#stop')
FuncSug Keywords
and awaitBeep awaitBip branch break calljs def do else exitAfter exitWith false finished for if in js not onBreak or par parallel select seq sequence spawn true var while

Language features

Feature Supported Example Token
Semantic Indentation ✓
Lists ✓ myParallelList := |1, 2, 3, 4, 5|
Infix Notation ✓
Functions ✓
While Loops ✓
Conditionals ✓
Strings ✓ "Hello, World!"
Comments ✓
Assignment ✓ name := 'John' :=

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

Built with Scroll v178.2.3