r/Compilers • u/Negative_Effort_2642 • Jun 19 '26
I am creating a compiler
I am creating a compiler for my own programming language, I have been suffering a lot but I am improving slowly, it has been alot of Google and asking ChatGPT for small exemples, trying to recreate but for what I want, realizing it doesnt really work trying to fix etc.
It has been an interesting experience, im currently at the type checker
0
Upvotes
4
u/InviteQueasy3739 Jun 19 '26
Is there anything you would like to comment and/or share about it?
2
u/gavr123456789 Jun 19 '26
Keep me posted bro
1
u/DueSwimmer8120 Jun 19 '26
I also tried. After doing some left in the middle. It's fun. Best of luck. Let me know if there is some space for contribution.
2
u/__Pshimaf__ Jun 19 '26
Code???
1
u/Retired-69 Jun 21 '26
So what you saying is that you used AI to generate the code? If so I understand why you are struggling. AI are trained on millions of example of generic code. Using it in a compiler project will end with bloated, slow and overcomplicated code.
1
u/Goldrainbowman Jun 26 '26
So far, how long has it taken you to build it?