Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I made my own language with F#. I started with C++ but switched to it since the compiler needed to be cross platform and was a bit difficult. There is an equivalent of flex and yacc for .net core so i didnt start from scratch.
Anyway functional languages are a lot easier to reason with when building a language. If ypu are willing to give it a shot try Ocaml or even haskell
mt3o18576dThere is this thing called LLVM which you can rely on.
Bubbles47706dGood luck and welcome to devRant
maladiec26dHey, basically you do need to know by yourself what you want to write. An interpreter or a whole compiler.
A very fast quickstart:
If you do stand out only for interpreter there are a lot of guides out there.
If we would talk about compiler itself, then you definetly need assembly/machine code knowledge.
Also, dont forget:
:) It is not that hard to write a fully functioning interpreter. It is a very hard work to write a whole compiler. (Writting a simplistic OS kernel in this place is probably even easier than writing a whole compiler)
Just my 2cents.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job
xjose97x15Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
elgringo30Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...