很想能自己造一门完整的语言, 一直关注这些东西, 现在还是出在收集阶段.
思路是将不写类型声明的代码解析跟推断, 生成 LLVM IR, 然后交给 LLVM 处理.
如果你看到其他可以作为教程的例子, 欢迎评论在下边 :)
Let's Write an LLVM Specializer for Python!
Implementing a JIT Compiled Language with Haskell and LLVM
A compiler for Crisp (Lisp/Scheme-inspired language) in Haskell, with an LLVM backend
Swift programming language compiler written in Haskell.
Building a Brainfuck compiler with LLVM
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
Hue — a functional programming language for fun & play
Node.js Bindings for the LLVM compiler infrastructure
A statically-typed, low-level dialect of Lisp that targets LLVM.
Rhine is a Clojure-inspired Lisp on LLVM JIT featuring variable-length untyped arrays, first-class functions, closures, and macros.
LLVM Clojure Bindings and Toy Language.