很想能本身造一門完整的語言, 一直關注這些東西, 如今仍是出在收集階段.
思路是將不寫類型聲明的代碼解析跟推斷, 生成 LLVM IR, 而後交給 LLVM 處理.
若是你看到其餘能夠做爲教程的例子, 歡迎評論在下邊 :)html
Let's Write an LLVM Specializer for Python!node
http://dev.stephendiehl.com/numpile/git
Implementing a JIT Compiled Language with Haskell and LLVMgithub
http://www.stephendiehl.com/llvm/ui
A compiler for Crisp (Lisp/Scheme-inspired language) in Haskell, with an LLVM backendcode
https://github.com/talw/crisp-compilerhtm
Swift programming language compiler written in Haskell.blog
https://github.com/penberg/taylor教程
Building a Brainfuck compiler with LLVMci
https://www.jeremyroman.com/2012/12/11/building-a-brainfuck-compiler-with-llvm/
My First LLVM Compiler
http://www.wilfred.me.uk/blog/2015/02/21/my-first-llvm-compiler/
Clasp is a Common Lisp implementation that interoperates with C++ and uses LLVM for just-in-time (JIT) compilation to native code
https://github.com/drmeister/clasp
Hue — a functional programming language for fun & play
http://rsms.me/2012/05/14/hue.html
Node.js Bindings for the LLVM compiler infrastructure
https://github.com/guangwong/node-llvm-x/blob/master/examples/kaleidoscope.coffee
A statically-typed, low-level dialect of Lisp that targets LLVM.
https://github.com/eudoxia0/corvus
Rhine is a Clojure-inspired Lisp on LLVM JIT featuring variable-length untyped arrays, first-class functions, closures, and macros.
https://github.com/artagnon/rhine-ml
LLVM Clojure Bindings and Toy Language.