admin 管理员组

文章数量: 1086019

Is there any LLVM backend for javascript? If not, other tools that convert dynamic language(similar to javascript) to LLVM IR will also be okay. Because I am writing a dynamic language piler and such tools can help me find out how some features are implemented.

Is there any LLVM backend for javascript? If not, other tools that convert dynamic language(similar to javascript) to LLVM IR will also be okay. Because I am writing a dynamic language piler and such tools can help me find out how some features are implemented.

Share Improve this question asked Dec 16, 2015 at 13:39 AllenLinAllenLin 1702 silver badges10 bronze badges 4
  • For which programming language is the piler being written? – Anderson Green Commented Dec 17, 2015 at 5:15
  • related: stackoverflow./questions/8466824/… – box Commented Dec 17, 2015 at 9:24
  • @AndersonGreen It is just a toy language created by myself, similar to javascript. – AllenLin Commented Dec 17, 2015 at 13:34
  • there are few projects on github about it. One of them is TypeScript Native Compiler (github./ASDAlexander77/TypeScriptCompiler) – Alexander77 Commented Sep 29, 2021 at 18:25
Add a ment  | 

1 Answer 1

Reset to default 4

FTL JIT (JavaScriptCore) uses LLVM as a backend.

Other VMs for dynamic languages using LLVM MCJIT:

  • Pyston
  • HHVM
  • LLILC
  • Julia
  • The list goes on

本文标签: How to convert javascript to LLVM IRStack Overflow