Is Creating My Own Toy Language a Good Project Idea?

0
6
Asked By CuriousCreator92 On

I'm planning to create my own toy language as a side project. I've been looking into LLVM and specifically LLVM IR (intermediate representation). The plan is to develop a frontend and connect it to the LLVM backend. I have some experience with Haskell, and I'm thinking of using it for the parser, lexer, and other parts of the frontend. This is my first time diving into something like this, and instead of relying on AI, I prefer the traditional method of gathering info beforehand. Since I've never worked on anything low-level before, I'm curious if this project is considered good from an employer's viewpoint, especially when applying for system-related jobs. Should I focus on this concern, or just get straight into the project? I'd appreciate any insights! Thanks!!!

3 Answers

Answered By HackerHannah32 On

You might find this resource helpful! It's not LLVM-related, but I always thought 'Build Your Own Lisp' was a great way to dive into language creation. Just don’t stress about impressing employers; focus on the learning experience instead!

CuriousCreator92 -

I appreciate the suggestion! Thanks a lot! ❤️

Answered By BookwormBuilder On

Check out the book 'Crafting Interpreters.' It covers building compilers too and is great for learners using different primary languages. It includes Java and C while interpreting Lox, which has a C-like syntax. I'm currently reading it while implementing Lox in C#, but it’s totally doable in Haskell as well!

HackerHannah32 -

Great point! Haskell is perfect for this kind of project. You don't need to build a full compiler; just focusing on the frontend would be a valuable task in itself.

Answered By CodeChaser88 On

Honestly, worrying about whether or not a project will impress employers isn't the best reason to start coding. Personally, I've worked on a similar project before, and it was super enjoyable! If you’re interested in compiler design and the LLVM ecosystem, definitely go for it!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.