r/ProgrammingLanguages • u/Key_River7180 Nain. • 20d ago
Help transpilation - Bootstrap compiler
So, I am making a compiler for my language, Nain, in CHICKEN Scheme. Should I output QBE IR or code for C or another language? This is a bootstrap compiler, I will use it only to test new language features and to compile the self hosting compiler so yeah.
1
Upvotes
View all comments
2
u/tiger-56 19d ago
Write a Nain interpreter in Scheme. Use the interpreter to write your compiler.