https://github.com/ibax-io/needle
The smart contract programming language called Needle.
https://github.com/ibax-io/needle
blockchain embedded-language golang needle programming-language smart-contracts
Last synced: about 2 months ago
JSON representation
The smart contract programming language called Needle.
- Host: GitHub
- URL: https://github.com/ibax-io/needle
- Owner: IBAX-io
- License: gpl-3.0
- Created: 2023-10-09T10:33:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-11T10:20:37.000Z (about 1 year ago)
- Last Synced: 2024-04-14T06:46:02.901Z (about 1 year ago)
- Topics: blockchain, embedded-language, golang, needle, programming-language, smart-contracts
- Language: Go
- Homepage:
- Size: 749 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# The Needle Language
[](https://pkg.go.dev/github.com/IBAX-io/needle)
[](https://opensource.org/blog/license/gpl-3-0)
[](https://goreportcard.com/report/github.com/IBAX-io/needle)Needle is a statically typed programming language for developing smart contracts to power the IBAX blockchain. It is designed to be a platform-agnostic language to enable common libraries with execution smart contracts on the blockchain.
This repository contains the Needle compiler, virtual machines, grammar and more. then developers want to quickly write smart contracts for IBAX blockchain, it should be written in Needle.
## Usage Example
Here is a simple Needle smart contract example:
```
contract Hello {
func hello() string {
return "Hello, Needle!"
}
}
```## API Documentation
You can find the complete API documentation [here](https://pkg.go.dev/github.com/IBAX-io/needle).
## ANTLR Grammar
We are using grammar files. Link to the grammar files can be found [here](https://github.com/IBAX-io/needle/tree/main/grammar/antlr).
## Contribution
We welcome everyone's contribution to Needle. If you want to contribute to Needle, you can submit a [pull request](https://github.com/IBAX-io/needle/pulls) or propose your suggestions in the [issue](https://github.com/IBAX-io/needle/issues) area.
## License
Needle is licensed under the GNU General Public License v3.0. For more information, please refer to the [LICENSE](https://github.com/IBAX-io/needle/blob/main/LICENSE) file.