Microsoft CCI - resources, references for writing compilers

前端 未结 1 1651
忘掉有多难
忘掉有多难 2020-12-30 16:46

Some time ago, I was working on compiler, I\'ve used System.Reflection to generate code (IL) from my AST. Now, I\'ve an idea for another compiler that I\'d like

相关标签:
1条回答
  • 2020-12-30 17:38

    For the start, I'll throw few links, for those, who aren't familiar with CCI:

    1. CCI-AST project for generating and compiling abstract syntax trees.
    2. CCI-Metadata project for reading / writing meta data of clr assemblies, supports also reading / writing pdb.
    3. CCI-Samples project contains small basic compiler, which I was referring to in 1st post.
    4. Lang.Net presentation about CCI, a little "why and how?"
    5. VCC - concurrent c compiler, on top of CCI. I haven't dug into it yet, but I expect it to be another big project, without any explanations, not that good for learning constructing compilers from the beginning (beside this, it's mainly written in F#).
    0 讨论(0)
提交回复
热议问题