Tag archive for ‘LLVM’
Build an abstract syntax tree using python.
This is a glimpse of my mini project, titled Compiler for C subset language with LLVM Backend. I’d explain what I did to create an abstract syntax tree for my subset language. See the class below : class ASTNode(object): def __init__(self, type, *children): self.node_type = type self.node_children = children ASTNode consist of two members, node_type [...]
B Tech. Mini Project – C compiler with LLVM Backend
After discussions with Pramode sir, I’ve decided to do the project ” Compiler for a C subset language with LLVM Backend “. We are a team of four members; me, Alwin James, Sandhya B. K. and Vinaya Menon. Our project guide is Valsaraj sir. The very first thing all the teams should do is to [...]