yashtazor / 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#, 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 35.8%Language:C++ 31.0%Language:CMake 22.1%Language:Shell 2.6%Language:Python 2.0%Language:JavaScript 1.6%Language:C# 1.5%Language:SWIG 1.0%Language:Ruby 0.8%Language:Rust 0.3%Language:Dockerfile 0.3%Language:Crystal 0.3%Language:HTML 0.2%Language:Objective-C 0.2%Language:Go 0.1%Language:PowerShell 0.1%Language:Awk 0.1%Language:TypeScript 0.1%Language:LLVM 0.0%Language:CSS 0.0%Language:COBOL 0.0%Language:Java 0.0%Language:Lua 0.0%