I've got a few languages I've been building as interpreters. When I'm ready to take "that next step", what options are best for non-native compiled formats... what are the pros and cons of each?
I've been looking at compiling to CLR or LLVM, and contemplated C-midcompile a few times, but I'm not completely certain.
A few features I'm hoping to be able to port are as follows:
- REPL - One of the languages I'm building supports block-level evaluation during runtime.
- Robust Macros - One of the languages I'm building requires the ability to filter through code seperately before tokenizing, and in the midstep between tokenizing and parsing.
Ok, not really "a few", just two. I like to think I can port any other features my languages support to "anything".
What are my best options, and their pros/cons?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…