When starting programming, everyone tells you not to use Word as a text editor since it messes up your formatting. I wanted to change that by making a way to program in word that actually leverages the power of Word's formatting.

What it does

You can write a simple specification for a web app in Word, and then run the .docx to have a web app running.

How I built it

I used pandoc to parse .docx and scotty for the web part.

Challenges I ran into

Trying to figure out how to connect all the monads together (ex. trying to do IO while inside the ActionT monad part of scotty)

Accomplishments that I'm proud of

  • getting it actually working in the first place

What I learned

  • about liftIO
  • I know less haskell than I thought I knew
  • Monads are hard

What's next for www.doc

Built With

  • haskell
  • pandoc
  • scotty
  • word
Share this project: