DEV Community

Cameron
Cameron

Posted on

2 1

Building My Own Markdown Compiler (1/?)

After spending a lot of time on gwern.net which was written in Haskell, and reading Matthew Butterick's e-books, which were written in a markup lang built in Racket, I've decided that there are certain custom features I want from Markdown for personal website reasons that aren't provided in the vanilla spec. So, as is the novice dev way a lot of the time, I decided it'd be a fun learning experience to write my own website compiler. I'm currently reading Realm of Racket to get acquainted with the language, and plan on reading Beautiful Racket (by Butterick) afterwards, as trying to read the latter without some sort of primer or foundational knowledge was a little dry and overwhelming. I also think it's just much easier for me to read on my Kindle than it is to internalize the same info through a computer screen.

In the spirit of Realm of Racket, I've decided to chronicle my adventures here, and keep a log of the things that I enjoyed, as well as the things that slowed me down or acted as obstacles.

Et cetera:

  • Large exponents (e.g. 50 ^ 50) are calculated flawlessly in Racket for reasons I don't yet understand, which is immensely neat.
  • I think learning Racket could be a great intro into learning Clojure, which I also want to do.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay