[cfe-dev] Introduction and Help Request for Scan, Parse, Codegen
Allyn Shell via cfe-dev
cfe-dev at lists.llvm.org
Tue May 19 11:11:40 PDT 2020
Greetings, my name is Allyn Shell I am the instructor of the Compiler Design with LLVM course at Johns Hopkins University Engineering for Professionals in the CS Department. (I have included my short bio as an introduction at the end of this email.)
I spent the last two years updating the Compiler Design course to include LLVM which required me to learn “everything” about the LLVM Project. There are several difficult steps that I could not overcome in two years of studying LLVM. I am writing to request help from the community to fill in these missing points which basically involve using clang to create a compiler for an imperative C like language (for teaching students how to do this). It is easy to create a scanner and a parser using public domain tools, but when I reached the codegen to LLVM’s IR I quickly ran out of good guidance. The biggest help came from the LLVM Tutorials, but they are a little shallow and a little hard to follow at times due to what appears to be generations of updates.
Are there LLVM based tools available to make the transition from AST to IR, and where do I find them?
Is the transition between AST and IR mapped in a way that is compatible with the mappings used for debug and the IR to Machine Specific Object Code? Where can I find that information?
Is there an LLVM specific scanner/parser pair that integrates with the AST to IR mapping? Where do I find information about them?
- - - - - - - - - - - - - - - -
Bio for Allyn Shell:
I am the son of Dr. Donald L. Shell (author of the Shellsort). I am a Computer Scientist (semi-retired) and an Educator. I worked (indirectly) for NASA for 25 years building ground stations and simulators. I worked in missile defense for 10 years building simulators. Within industry I have taught seminars and short courses on a variety of topics including: Introductory Ada, Introductory C++, Advanced C++, Object Oriented Software Development, Introduction to Java, and Management of Ada Software Development. I am the author of the NASA/GSFC Standard Ada Pretty Printer (NASA/GSFC DSTL-88-003, May 1988) and is the co-author of the Ada Style Guide (NASA/GSFC SEL-87-002, May 1987). Recently, I authored the paper, “RISC Hardware and Simplified Software, Part 1: the Hardware.” and am currently writing “RISC Hardware and Simplified Software, Part 2: the Software.” I have four U.S. patents, as well as an EPO (European patent application) for a Multi-Level Marketing Computer Network Server (US Patents #6134533, 6415265, 6408281, 6691093 and EPO Patent Application # 97119108.5). I have a bachelor’s degree from Michigan Technical University in Applied Physics and a master’s degree in Computer Science from Johns Hopkins University. I am currently teaching the Foundations of Computer Architecture course and the Compiler Design with LLVM course.
Allyn Shell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200519/ec7d9751/attachment-0001.html>
More information about the cfe-dev
mailing list