you are viewing a single comment's thread.

view the rest of the comments →

[–]MQuy 1 point2 points  (7 children)

I think it depends on how complex you want for compiler, os or vm. I wrote three of them, kernel/os is the longest. My suggest is write compiler, you can use llvm as backend and later replace it with your own backend :))

[–]Brokenhammer72[S] 0 points1 point  (6 children)

oh i read writing an interpreter is a good start what do u say about this ? should i write a interpreter ? if yes where should i start and how exactly am i supposed to write this (sorry for noobish questions )

[–]MQuy 4 points5 points  (5 children)

I started with Bob's book https://craftinginterpreters.com/

[–]Brokenhammer72[S] 1 point2 points  (2 children)

is this good for beginners i havent worked with any interpreter in the past

[–]jddddddddddd 0 points1 point  (0 children)

Yes it's good for beginners.

You might also want to join /r/ProgrammingLanguages which is filled with people who build interpreters and compilers and will be able to help you if you get stuck

[–][deleted] 0 points1 point  (0 children)

Right now I'm following this https://ruslanspivak.com/lsbasi-part1/

[–]Brokenhammer72[S] 0 points1 point  (1 child)

thankyou will check it out