r/matlab Apr 28 '26

CodeShare Open Source Matlab-based LLVM/MLIR Compiler

I'm building an Open Source Matlab based LLVM/MLIR compiler suite capable of the following features:

  • Code Generation: C/C++, Python (using Numpy), Typescript (using Numpy-ts), and SystemVerilog
  • Compilation AOT / JIT, with REPL compatible with most Octave / Matlab Capabilities.
  • Debugging with DAP interface.

Clone and have a look (I'm testing currently on my MacBook, but soon will check on other platforms)

https://github.com/leonardoaraujosantos/matlab_llvm

10 Upvotes

3 comments sorted by

View all comments

1

u/Party_Ad_9124 Apr 29 '26

That's very useful. I'm checking it out to test