I was dreaming of a JS to machine code, but then thought, why not just start from scratch and have what I want? It's a lot of fun.
I was dreaming of a JS to machine code, but then thought, why not just start from scratch and have what I want? It's a lot of fun.
You should be able to whip up a Lexer, Parser and compiler with a couple weeks of time.
If I want to go from Bristol to Swindon, I could walk there in about 12 hours. It's totally possible to do it by foot. Or I could use a car and be there in an hour. There and back, with a full work day in-between done, in a day. Using the tool doesn't change what you can do, it speeds up getting the end result.
So my question was, given that this is not a very hard thing to build properly, why not properly.
It's between "do it with LLMs or don't do it at all" - because most people don't have the time to take on an ambitious project like implementing a new programming language just for fun.