ysaie

31 / ⚧ / code, music, art, games

──────────────────────────────
🌸 many-shaped creature
✨ too many projects
πŸš€ cannot be stopped
πŸŒ™ stayed up too late
:eggbug: eggbug enjoyer
──────────────────────────────
header image: chapter 8 complete from celeste
avatar: made using this character builder


πŸ“© email
contact@echowritescode.dev

i have written, over the last week or so, the beginnings of a tokenizer for a programming language i'm designing. i wrote it in Haskell using the Megaparsec library. i'm interested in comments / critique from experienced Haskell programmers! (and feel free to chime in if you use another functional language!)

i'm interested in:

  • code smells / antipatterns
  • more elegant constructions
  • performance
  • conventions
  • things i did right and should keep doing that way
  • recommendations for techniques, language extensions, or libraries

here is the tokenizer itself. i figure that's the most interesting file, but feel free to browse that repository and look at other files too, including the Cabal files. there's also a Rust version that i had been working on a few months before, if you want to compare!

thanks cuties πŸ’œ


You must log in to comment.

in reply to @ysaie's post: