I will have to write an assembler in C for some made up architecture by the end of a the next semester, so this is very useful. They want everything from scratch too, no bison or anything like that. Can't find the source code in the repo though. Is it there?
Sir you are amazing. I always find your videos fascinating, you make me want to learn low level stuff and how things work under the hood. Do you have any suggestions from where to start any good resources that you suggest ? I would like to implement things as you do like projects. I wish to know how you learnt all these things,the practical knowledge. Could you share it. Thanks a lot for making these video's.
basically i just tried stuff until it worked and i learned. there were no good internet resources back then, at least not for >beginner c stuff. learned from my friends too
say, haven't watched this yet and won't e able o for a couple days but wantd to ask, do I need to know assembly to build stuff like the lexer, tokenizer, grammar etcetc?????
We had compiler design in last semester and I passed it. But I learned 1000x more from this video than I learned in my uni.
thank you ayon for these kind words. glad u liked it
Oh hey cool. Writing a compiler was my favorite project during undergrad.
amazing so much respect to you.
so this video is a part of a series
thanks man. yes that is correct. there'll be some stuff in between though
Such relaxing video
Thank you Dr, have not watched the full video yet but no doubt it will be mindblowing, keep up the amazing work
Thanks a lot Dr Jonas. I had been waiting for this for long time
Dr Jonas! Godsent content, thank you! I've been looking at how compilers work recently, so this is very handy. Cheers!!
great job! will you include designing IR and some optimization stuff? I'd love to see it if you do.
sure why not
great mission lets develop a whole compiler.
yes lets!
I will have to write an assembler in C for some made up architecture by the end of a the next semester, so this is very useful. They want everything from scratch too, no bison or anything like that.
Can't find the source code in the repo though. Is it there?
yes in the rookery folder
Sir you are amazing. I always find your videos fascinating, you make me want to learn low level stuff and how things work under the hood. Do you have any suggestions from where to start any good resources that you suggest ? I would like to implement things as you do like projects. I wish to know how you learnt all these things,the practical knowledge. Could you share it. Thanks a lot for making these video's.
basically i just tried stuff until it worked and i learned. there were no good internet resources back then, at least not for >beginner c stuff. learned from my friends too
Thank you sooooo much sir
Fire great video
Holy C a whole compiler?
I'll have a field trip
Haskell sneaking in..
yeah, every programmer needs at least 1 functional language in his toolbox
dr birch are you using llvm here? also is this a compiler for a toy language or C?
you mean my compiler? no it's real. it's an assembler compiler for the birdnest cpu architecture
@dr-Jonas-Birch oh, cool! This ties in well with the previous videos.
@@Rudy-se4jt it does. but my next video will blow your mind. i recorded today and managed to push the realms of possibility in c
@@dr-Jonas-Birch oh man! I'm super invested
say, haven't watched this yet and won't e able o for a couple days but wantd to ask, do I need to know assembly to build stuff like the lexer, tokenizer, grammar etcetc?????
@@notdeus3834 you don't have to write a compiler that compiles to assembly at all
Amazing video sir . Is this project good for my resume or it needs to be more advance? ( i am 4th yr student with no experience btech).
its excellent, but this is only ep01. you find the finished code in the rookery folder of the code repo
@dr-Jonas-Birch ok thankyou sir , where is the repo?
@@shivankurnegi445 repo.doctorbirch.com
where can we go from this?
we can go to ep02 of the compiler series, airing soon on your favorite youtube channel!
PLEASE SET YOUR PC ON DARK THEME I CANT WATCH YOU FOR AN MORE THAN 15MINS WITH WHITE TEME PLEASE DR
i always code on dark theme, except when i code haskell
You'd better migrate to rust...
ha
You meant to say transition.....
@rusi6219 i will migrate before i transition to rust :D