metacall
Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more
About metacall
MetaCall allows calling functions, methods or procedures between multiple programming languages.
sum.py
def sum(a, b):
return a + b
main.js
const { sum } = require('./sum.py');
sum(3, 4); // 7
shell
metacall main.js
MetaCall is an extensible, embeddable, and interoperable cross-platform polyglot runtime. It supports NodeJS, Vanilla JavaScript, TypeScript, Python, Ruby, C#, Java, WASM, Go, C, C++, Rust, D, Cobol and more.
Install
The easiest way to install MetaCall is the following:
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
For more information about other install methodologies and platforms or Docker, check the install documentation.
Examples
You can find a complete list of examples in the documentation. If you are interested in submitting new examples, please contact us in our chats.
Frequently Asked Questions
What is metacall?
metacall is a Embeddable Scripting Languages library for the Go programming language. Cross-platform Polyglot Runtime which supports NodeJS, JavaScript, TypeScript, Python, Ruby, C#, WebAssembly, Java, Cobol and more
How do I install metacall?
Install metacall with the Go module system using `go get metacall/core`. Check the repository for the current installation instructions.
What category does metacall belong to?
metacall is listed under Embeddable Scripting Languages, specifically Embeddable Scripting Languages.