LLVM-Kaleidoscope
Exercises with the LLVM example compiler, JIT compiler, debugger development Kelidoscope - in C++, Python (llvmlite) in WSL2 Linux on Windows 10 (Ubuntu 20.04) and possibly later on Windows as well. Initially with clang++, later probably with MSVC 2019 and newer. Etc.
- pykaleidoscope is public domain from: https://github.com/eliben/pykaleidoscope
- Kaleidoscope C++ code is from the site, I may have added/add in the future some additional notes, small changes etc.
- https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
Clang-query-AST: AST matching, search, refactoring, ... study, use:
https://github.com/Twenkid/LLVM-Kaleidoscope/blob/main/Clang-query-AST.md https://clang.llvm.org/docs/LibASTMatchers.html https://clang.llvm.org/docs/LibASTMatchersReference.html#traversal-matchers
Useful Links for other explorations
- Download a directory from a github repo: (You need a token from github: https://github.com/settings/tokens ) https://www.wikihow.com/Download-a-GitHub-Folder https://download-directory.github.io/?url=https://github.com/mrdoob/three.js/tree/dev/build