11

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 compiler and such tools can help me find out how some features are implemented.

4
  • For which programming language is the compiler being written? Commented Dec 17, 2015 at 5:15
  • related: stackoverflow.com/questions/8466824/… Commented Dec 17, 2015 at 9:24
  • @AndersonGreen It is just a toy language created by myself, similar to javascript. Commented Dec 17, 2015 at 13:34
  • there are few projects on github about it. One of them is TypeScript Native Compiler (github.com/ASDAlexander77/TypeScriptCompiler) Commented Sep 29, 2021 at 18:25

1 Answer 1

4

FTL JIT (JavaScriptCore) uses LLVM as a backend.

Other VMs for dynamic languages using LLVM MCJIT:

Sign up to request clarification or add additional context in comments.

1 Comment

As of Feb 2016, FTL JIT (Webkit) no longer uses LLVM; they use B3 (Bare Bones Backend) JIT: webkit.org/blog/5852/introducing-the-b3-jit-compiler

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.