Releases: ballerina-platform/ballerina-lang
Introducing Ballerina (Milestone 1)
WSO2 team is pleased to announce the first milestone release of the ballerina development environment.
Ballerina is a new programming language for integration, built on a sequence diagram metaphor. Ballerina is:
- Simple
- Intuitive
- Visual
- Powerful
- Lightweight
- Cloud Native
- Container Native
- Fun
The conceptual model of Ballerina is that of a sequence diagram. Each participant in the integration gets its own lifeline and Ballerina defines a complete syntax and semantics for how the sequence diagram works and execute the desired integration.
How to get ballerina
You can download the ballerina M1 distribution[1] or build from the source[2] as mentioned below.
[1] https://github.com/wso2/ballerina/releases
[2] https://github.com/wso2/ballerina#build-from-the-source
How to run ballerina
Once you extracted the ballerina distribution, startup scripts can be found under /bin directory. There are 3 main startup scripts.
- ballerina.sh - can be used to execute a main function of a ballerina program
This command mainly used to execute the main function of a ballerina program.
Usage:
ballerina.sh [options] ballerina-file [args...]
Examples:
ballerina.sh hello-world.bal WSO2
ballerina.sh hello-world.bal "WSO2 Inc" (If the argument value contains a space, use double quote to enclose it)
ballerina.sh multiplier.bal 5 10
Available Options are:
-version Print Ballerina version.
-help Print this help message.
- ballerinaserver.sh - can be used to start the ballerina in server mode
This command is mainly used to start the ballerina in server mode.
Usage:
ballerinaserver.sh [option] command ballerina-file1 ballerina-file2 ...
Examples:
ballerinaserver.sh passthrough.bal
ballerinaserver.sh passthrough.bal echo.bal
Available Commands
start Start Ballerina Server in background.
stop Stop Ballerina Server which is running in the background.
restart Restart Ballerina Server which is running in the background.
Available Options:
-version Print Ballerina version.
-help Print this help message.
3) editor.sh - can be used to start the ballerina visual editor
Running the editor.sh will print the URL of the micro-service which hosts the editor. You can click on the URL and access the editor.
You can run the pre-built samples[3] as mentioned in the following link.
[3] https://github.com/wso2/ballerina/tree/master/samples/getting_started
This release fixes the following issues[4]
[4] https://github.com/wso2/ballerina/issues?q=is%3Aissue+is%3Aclosed
Open issues and reporting bugs
You can find the known issues in the following link[5] and report any bugs in the same link.
[5] https://github.com/wso2/ballerina/issues
How to contribute to ballerina
You can contribute to the ballerina development by forking the github repository and sending your pull requests to [6].
[6] https://github.com/wso2/ballerina
Thank you,
WSO2 Team