onkardahale / core

MetaCall: The ultimate polyglot programming experience.

Home Page:https://metacall.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

METACALL

MetaCall Polyglot Runtime

MetaCall.io | Install | Docs

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 a 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.

About

MetaCall: The ultimate polyglot programming experience.

https://metacall.io

License:Apache License 2.0


Languages

Language:C 37.1%Language:C++ 29.8%Language:CMake 21.8%Language:Shell 2.2%Language:Python 1.9%Language:JavaScript 1.4%Language:C# 1.3%Language:Rust 1.1%Language:Ruby 0.7%Language:SWIG 0.6%Language:Java 0.6%Language:Go 0.4%Language:Dockerfile 0.3%Language:TypeScript 0.3%Language:Crystal 0.2%Language:HTML 0.2%Language:PowerShell 0.1%Language:Awk 0.1%Language:LLVM 0.0%Language:WebAssembly 0.0%Language:Julia 0.0%Language:CSS 0.0%Language:COBOL 0.0%Language:Lua 0.0%