Build your own Excel 365 in an hour with F#
summary
A minimal Excel-like spreadsheet is implemented in about 130 lines of F# that runs in the browser, reaching an editable UI in ~16 minutes and full parsing/evaluation shortly after. It supports numbers, binary ops, cell references, on-the-fly re-evaluation, and cycle detection via a visited-set that yields Excel-style #ERRORs. Implementation uses the Fable compiler, the Elm architecture for update/render, and hand-rolled parser combinators to parse formulas; demos of fibonacci and error cases all work live.
AI-written summary · about
chapters (5)
- 0:00Start
- 8:36add a bit of interactivity to my spreadsheet
- 8:49define the event
- 25:57write the evaluator
- 26:18write an evaluator
related talks
28mHaskell Based Spreadsheets
01h 08mWhy Every Day as a Developer Would Be Easier with F#
01h 02mThe Book of F#
01h 01mF# as a Better Python
01h 00mFunctional-first programming with F#
57mF# Code I Love
21mDemo: A functional EDSL for mathematics visualization that compiles to JavaScrip...
42mF# for the curly brace developer
