Implementation
下面总结一下我目前接触过的compiler:
implementation | 链接 |
---|---|
gcc | 工程programming-language的C-family-language\C-and-C++\From-source-code-to-exec\Implementation\GCC 章节 |
LLVM | 工程programming-language的C-family-language\C-and-C++\From-source-code-to-exec\Implementation\LLVM 章节 |
cpython | 工程programming-language的Python 章节 |
nltk |
C compiler
https://github.com/rui314/chibicc
https://www.sigbus.info/how-i-wrote-a-self-hosting-c-compiler-in-40-days
https://github.com/zakirullin/tiny-compiler
https://github.com/jamiebuilds/the-super-tiny-compiler
recursive descend parser
https://github.com/codeplea/tinyexpr
https://github.com/axilmar/parserlib
LL parser
https://github.com/sid24rane/LL1-parser
https://github.com/scottfrazer/hermes
https://github.com/dxhj/predictive-parser
LR parser
https://github.com/erezsh/plyplus
https://github.com/lark-parser/lark
https://github.com/igordejanovic/parglare
https://github.com/bajdcc/clibparser
https://github.com/igordejanovic/parglare
automaton
https://github.com/WojciechMula/pyahocorasick
state machine
https://github.com/pytransitions/transitions
https://github.com/microsoft/BlingFire
https://github.com/viewflow/django-fsm
https://github.com/jtushman/state_machine
https://github.com/boost-experimental/sml