davidglassborow / sharp-point

🎈 A toy DSL to create presentations in F#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SharpPoint

A toy DSL for F# made with Computation Expressions to create presentations, powered by Avalonia. Made as part of the 2022 F# Advent calendar.

Why?

More like why not! I wanted to learn more about Computation Expressions to make DSLs and I liked the complete uselessness but beauty of DeckUI.

How does it look like?

Now that's a better question! SharpPoint allows to turn this:

deck {
    title "SharpPoint: Presentations made sharper"

    slide {
        header "This is the first slide"
        text "Lorem ipsum dolor sit amet..."
        image "https://i.kym-cdn.com/photos/images/list/000/056/238/brock20110724-22047-utv7m1.jpg"
    }

    slide {
        header "...Wow, this is the second"
        text "I have nothing else to say, so please don't press next"
    }

    slide {
        header "NO WAY, a third?!"
        text "I told you, there's nothing interesting here."
    }
}
|> showPresentation

Into this:

final-app

About

🎈 A toy DSL to create presentations in F#

License:GNU General Public License v3.0


Languages

Language:F# 100.0%