@Devs, here's a new step forward to help you, Bitcoin Scripting Language release,
Bitcoin Scripting Language support for Visual Studio Code. This extension adds language support for the Bitcoin Scripting Language also known as Bitcoin Script or simply, Script. Specifically, this extension adheres to the grammar of post-genesis Bitcoin SV.
The file type for the Bitcoin scripting language is .bs
Features
- Syntax highlighting
- Layout
- Code excerpts
- Definitions
- Debugger
- Linter
Quick evaluator + debugger
The Quick Evaluator will run the script and display whether it is TRUE, FALSE or INVALID.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.ibb.co%2FtbPmhHD%2Fevaluator-script-bitcoin-bsv-0.gif&t=665&c=DmmZmc8R9eDobQ)
The debugger will show you the resulting stack, the alt-stack and the type of error produced.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.ibb.co%2FtbPmhHD%2Fevaluator-script-bitcoin-bsv-1.gif&t=665&c=20BeT7BGOKkyrw)
Layout
The trainer automatically places each opcode and data element on a new line. All OP_IF / OP_ELSE branches are indented.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.ibb.co%2FN7y3khK%2Fevaluator-script-bitcoin-bsv-3.gif&t=665&c=dxTbHRiO9VXIQw)
Definitions
The definitions are based on the definitions.yaml file which was created by scratching the Bitcoin Wiki and later corrections were added from the Bitcoin SV Wiki . To add or update definitions, please do a PR editing the definitions/bitcoinscript.yamlfile.
InstallationStart VS Code Quick Open (Ctrl + P), paste the following command and press Enter:
ext install shade.bsl
You can also download the extension from the marketplace .
Release notes0.0.15
- Introduction of the debugger and evaluator[
- Added bsl.debuget bsl.evaluatecommands
0.0.12
- New syntax highlighting (reserved OPCODES now supported)
- Trainer for indentation based on the branches OP_IF / OP_ELSE
- Overview map based on the definition file.
0.0.6
Source:
https://marketplace.visualstudio.com/items?itemName=shade.bslSource:
https://github.com/shade/vscode-bitcoinscript___Thanks Joe!
[/list]
Good old op codes are back - yes.
Only few understood what they where good for
Blocked soon by haters
that also made eth happen
wtf
Bitcoin can do it all - if you care and work