r/functionalprogramming • u/DazzlingExperience89 • Oct 10 '24
Question Looking for Master’s project ideas in functional programming (elixir/ nix)
Hey everyone!
I’m working on my master’s in computer science and could use some ideas for my final project. I’m super into functional programming and love using Elixir and Nix, so I’d like to focus on those if possible.
That said, including Elixir or Nix in the project is not a must. I’m mainly looking for interesting ideas that dive deep into functional programming concepts, and I’m open to all suggestions!
Any thoughts or cool project ideas that would be a good fit? Thanks!
20
Upvotes
7
u/Hath995 Oct 10 '24
An idea I had recently was to make a translator between different parser generators, particularly between Tree-Sitter and Coco/R since they are fundamentally similar in concept. It could be extended to other parser generators so any one could be translated to the other.
This would help with open source tooling. Languages which are written with different parser generators could be translated to Tree-Sitter and then editors with support for it could add basic language editor support.
Parsers, ASTs, and their transformations are very functional so I doubt you would have trouble implementing it in either Elixir or Nix.
6
u/willehrendreich Oct 10 '24
How about a program to get even deeply entrenched enterprise OO lovers into functional programming?
4
u/yvan-vivid Oct 10 '24
As someone who uses Nix, something I would find beneficial is a DSL in Nix to write shell scripts. I really am not a fan of the mess of concatenated bash multiline blocks that always end up in Nix scripts. Like many DSLs, any good one does more than just wrap string concatenation. Instead, it builds an intermediate structure and can thereby do checks and transformations on it before flattening it out to its target. I take no responsibility for this suggestion, but there you go.
6
u/bosyluke Oct 10 '24
You might consider some of the ideas in this doc from the Roc programming language
https://docs.google.com/document/d/1mMaxIi7vxyUyNAUCs98d68jYj6C9Fpq4JIZRU735Kwg/edit?usp=drivesdk
3
u/Worldly_Dish_48 Oct 10 '24
Maybe you can build some sort of parser?