@eridanus-network/sonar

0.0.1 • Public • Published

Sonar

Sonar is a new-gen language for distributed systems.

Sonar programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network.

Sonar's runtime is heterogeneous: it includes browsers, servers, devices, all involved in solving a single task. Therefore, Sonar scripts are compiled into several targets at once, with FIR and Typescript as a default.

sonar

The package contains a convenience sonar wrapper for usage in npm-based projects.

usage

Get the latest package

npm i --save-dev @eridanus-network/sonar

Create a directory for the source files: .sonar and for compiled files: .ts

mkdir src/sonar src/compiled

To compile files run:

sonar -i ./src/sonar/ -o ./src/compiled

Alternatively the compilation script can be put into scripts section of package.json

...
"scripts": {
    ...
    "compile": "sonar -i ./src/sonar/ -o ./src/compiled"
},
...

and can be started with

npm run compile

references

Readme

Keywords

none

Package Sidebar

Install

npm i @eridanus-network/sonar

Weekly Downloads

0

Version

0.0.1

License

Apache-2.0

Unpacked Size

9.81 MB

Total Files

13

Last publish

Collaborators

  • solindex