Search
Q. I’d like to build a compiler with Phoenix. Any guidance on how to do so?


A. The best place to start is probably the “Hello” sample found in the RDK’s directory of sample programs. It does not supply a front-end or do semantic analysis, but it does show many of the aspects necessary to do code generation, from scratch, using Phoenix.

Another approach to building a whole compiler is illustrated by the sample “grammar-based-analyzer”.