orhnk / merge-lang Goto Github PK
View Code? Open in Web Editor NEW๐ง Meta Programming language automating multilang communications in a smart way
License: Other
๐ง Meta Programming language automating multilang communications in a smart way
License: Other
A programming language that automates IPC communications across multiple languages in a fast, cross-platform and simple way.
There are a lot of programming languages out there and What's the reason to create a new one? (is it worth the effort?)
Merge is not only a "programming language" but a meta programming language.
Merge sits on top of other language like python, c, rust, javascript (etc.) and manages the IPC communications done between them.
Merge would be a traffic police at the time. There are chaos and commotion everywhere which needs to get fixed immediately so you put someone to organize this moil.
So when you want to pelt a variable from python to rust, you will just kindly say it to the compiler and It will send the variable to the target language (so you can use it peacefully)
Merge tries to optimize for the best it could. A Brief List of Optimizations may be:
Merge uses the simplest and the most unambiguous way of bridging between languages.
Here is the bridge in Merge (This one sends and recieves no variables):
[!NOTE]
You can ommit the[]
prefix when no variables are recieved.
Or you can ommit the-> []
postfix when there is no variable to send.
So all of the following representations are equal
[] -> [] #
-> [] # `[]` ommitted
[] # `-> []` ommitted
Looking for a concise way to implement comments.
My initial idea is to use #
as single-line comment:
[pour] -> [scoop] # means: [var_sending_to_python] -> [var_pulling_from_python]
python! {
print("[Python]:", scoop)
var_pulling_from_python = 10
}
Note
I don't think merge-lang includes anything that'll make multi-line comment crucial
;
, //
, --
, <!--
, /* */
, --[ ]
, <!-- -->
)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.