Have you written your own compiler?
Was it for your own language or for an existing one?
>>62304802
yes, i went to a non-brainlet cs school. i was given a grammar, so i couldn't make my own language in the course. later i ported my compiler to a DSL for a place i was working at.
Not a compiler, but I wrote an assembler for my own ASM.
I wanna write my own compiler, is there some reference language with some sort of babby-tier walkthrough I could follow?
I wrote a basic compiler that could compile a very simple language to brainfuck (lmao)
>>62305363
Yes please
>>62305363
no, read dragon book.
>>62304802
compilers are deprecated. all you need to write is truffle api ast interpreter
>>62304802
Yes, and for an existing language. It was literally a second year comp sci project everyone in the course did.
I wrote my own scripting language with its own compiler
>>62308281
As you sure it was a compiler and not an interpreter? Those are two different things I see people get confused on all the time.
My own language and a compiler for it.
>>62308520
The two only really differ in what they do with the AST once constructed.