Site Tools


prekl:prekl

Literatura

Niklaus Wirth: Compiler Construction
http://inf.ethz.ch/personal/wirth/CompilerConstruction/CompilerConstruction1.pdf
http://inf.ethz.ch/personal/wirth/CompilerConstruction/CompilerConstruction2.pdf

Steven Pemberton and Martin Daniels: Pascal Implementation: The P4 Compiler and Interpreter
http://homepages.cwi.nl/~steven/pascal

Andrew W. Appel: Modern Compiler Implementation in C
http://www.cs.princeton.edu/~appel/modern/c/

Příklady

Letošní příklady

Lexikální analyzátor

Lexikální analyzátor pro jazyk podobný jazyku C ( napsaný v jazyce Python )

Syntaktická analýza

Syntaktická analýza výrazů

Gramatika popisující příkazy zjednodušeného jazyka C

Příklady syntaktických analyzátorů

Strojově generované syntaktické analyzátory

Gramatika popisující gramatiku

Parser pro popis gramatiky

Zobrazení gramatiky

Množiny symbolů, kterými začínají jednotlivá syntaktická pravidla

Syntaktický analyzátor

Program

Objektově orientované syntaktické stromy

Syntaktický analyzátor vytvářející syntaktický strom

Tisk programu uloženého v syntaktickém stromu

Select

Choose

Program

Příklady

Příklady v adresáři tutorial

C--

CLang a Python

TCC

Poznámky

dots

http://tomassetti.me/a-tutorial-on-how-to-write-a-compiler-using-llvm

https://mukulrathi.com/create-your-own-programming-language/llvm-ir-cpp-api-tutorial/

http://mlir.llvm.org ( http://www.youtube.com/MLIRCompiler )

http://anoopsarkar.github.io/compilers-class/llvm-practice.html

http://llvm.org/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html

http://llvm.org/docs/tutorial/MyFirstLanguageFrontend/LangImpl05.html

lldb example http://github.com/llvm/llvm-project/blob/main/lldb/examples/python/disasm.py

createDiagnostics, llvm 20 https://maskray.me/blog/2025-03-09-compiling-c++-with-clang-api

llvm lite http://llvmlite.readthedocs.io/en/latest/user-guide/index.html

cpu0 http://jonathan2251.github.io/lbd/asm.html

Gede is a graphical frontend (GUI) to GDB written in C++ and using the Qt4 toolkit https://github.com/Nanoseb/gede

gdbgui - A modern, browser-based frontend to gdb https://www.gdbgui.com/

PeachPy - https://github.com/Maratyszcza/PeachPy

tcc - https://github.com/C-Chads/tinycc

8cc - https://github.com/rui314/8cc

chibicc - https://github.com/rui314/chibicc

http://github.com/learn-llvm/awesome-llvm

https://assignments.lrde.epita.fr/tools/llvm/irbuilder.html

https://asmjit.com/

https://github.com/zyantific/zasm

https://fileadmin.cs.lth.se/cs/Education/EDAN65/2021/lectures/L11.pdf

https://stackoverflow.com/questions/54465457/extracting-subvector-from-vector-register-in-llvm-ir

https://stackoverflow.com/questions/23873113/cuda-compilation-of-llvm-ir-using-nvptx

https://github.com/tendra/tendra

https://github.com/cksystemsteaching/selfie

https://github.com/anael-seghezzi/CToy

https://mapping-high-level-constructs-to-llvm-ir.readthedocs.io

https://docs.nvidia.com/cuda/nvjitlink/index.html#getting-started

https://docs.nvidia.com/cuda/archive/11.1.1/pdf/NVRTC_User_Guide.pdf

https://modal.com/gpu-glossary/host-software/nvrtc

https://docs.nvidia.com/cuda/cuda-driver-api/index.html

https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#instruction-set-ref

https://stackoverflow.com/questions/56564582/what-does-a-program-the-assembly-that-uses-a-gpu-even-look-like

C++26 Reflection https://isocpp.org/files/papers/P2996R4.html

Seed7 https://seed7.sourceforge.net/

Leslie Lamport TLA+ https://lamport.azurewebsites.net/tla/learning.html

https://en.wikipedia.org/wiki/List_of_object-oriented_programming_languages

clang precompiled preamble CINDEXTEST_PREAMBLE_FILE

g++ -std=c++20 -fmodules-ts -xc++-system-header iostream

g++ -std=c++20 -fmodules-ts main.cpp

https://llvmlite.readthedocs.io/en/latest/user-guide/ir/ir-builder.html

https://mapping-high-level-constructs-to-llvm-ir.readthedocs.io

https://acl.inf.ethz.ch/teaching/fastcode/2020/slides/07-simd-avx.pdf

https://github.com/AntKrotov/oberon-07-compiler/blob/master/source/X86.ob07

https://github.com/veselink1/refl-cpp

https://blog.rink.nu/2023/02/12/behind-the-magic-of-magic_enum/

https://thinkingeek.com/2016/01/06/tiny-gcc-front-part-2/

https://stackoverflow.com/questions/18672191/gcc-c-exception-handling-implementation

https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html

https://gabrieleserra.ml/blog/2020-08-27-an-introduction-to-gcc-and-gccs-plugins.html#InstrumentcodewithGCCcompilingoptions

gimple_build_call gimple_build_assign gimple_build_cond gimple_build_try

https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html

https://tldp.org/HOWTO/GCC-Frontend-HOWTO-7.html

https://gcc.gnu.org/onlinedocs/jit/topics/expressions.html#c.GCC_JIT_BINARY_OP_LOGICAL_AND

https://github.com/gcc-mirror/gcc/blob/master/gcc/jit/jit-playback.cc#L2355 add_assignment

https://github.com/gcc-mirror/gcc/blob/master/gcc/jit/jit-recording.cc#L7425 recording::assignment::replay_into recording::assignment::write_reproducer

https://github.com/gcc-mirror/gcc/blob/master/gcc/cp/cp-tree.h#L8012 cp-tree.h begin_try_block

https://gcc.gnu.org/onlinedocs/gccint/Example.html define_insn

https://kristerw.blogspot.com/2017/08/gcc-target-description-macros-and.html

https://atgreen.github.io/ggx/

http://moxielogic.org/blog/qemu-says-hello-world.html

https://github.com/ghaerr/ncc

https://fevtyp.com/naive/

prekl/prekl.txt · Last modified: 2025/06/08 20:44 by 2a00:1028:919d:bcb2:da5e:d3ff:fe59:4914