https://github.com/kaspler/fift-sorting
Implementation of sorting algorithms in the programming language Fift. Fift is a new programming language specifically designed for creating and managing TON (Telegram Open Network) Blockchain smart contracts, and its features used for interaction with the TON Virtual Machine and the TON Blockchain.
https://github.com/kaspler/fift-sorting
Last synced: about 2 months ago
JSON representation
Implementation of sorting algorithms in the programming language Fift. Fift is a new programming language specifically designed for creating and managing TON (Telegram Open Network) Blockchain smart contracts, and its features used for interaction with the TON Virtual Machine and the TON Blockchain.
- Host: GitHub
- URL: https://github.com/kaspler/fift-sorting
- Owner: Kaspler
- License: mit
- Created: 2019-06-07T08:52:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T09:04:11.000Z (over 6 years ago)
- Last Synced: 2024-12-17T10:38:11.496Z (10 months ago)
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ton - fift-sorting - Implementation of sorting algorithms in the programming language Fift. (Tutorials)
README
# fift-sorting
Implementation of sorting algorithms in the programming language Fift.
Currently, only bubble sort is implemented.
Contributors are welcome to implement other sorting algorithms and suggest improvements.Example:
"./BubbleSort.fif" include
// Put elements to sort in the stack
5 1 3 2 4
// Sort 5 last elements
5 bubblesort
.s// Reverse 5 top-most stack elements
5 0 reverse
.sFift is a new programming language specifically designed for creating and managing TON Blockchain smart contracts, and its features used for interaction with the TON Virtual Machine and the TON Blockchain.
TON refers to Telegram Open Network.