aluvm / aluasm Goto Github PK
View Code? Open in Web Editor NEWAluVM assembler
License: GNU Affero General Public License v3.0
AluVM assembler
License: GNU Affero General Public License v3.0
Line 83 in 8b0b785
s16 have 16 registers
I try to compile the examples/rgb20.aluasm script.
Firstly, I encountered a problem that the aluasm dependency (baid58) is outdated. I update it to baid58 v0.4.4
then it can build aluasm cli tool.
Then I use aluasm
cli tool to compile examples/rgb20.aluasm script, it reports:
Error E2012: incorrect library id Baid58 string `alu145mc48u7f6n9lzesm5wpvrq5y8rck9qgyyjpd2vshpv3ww7cp89qv27dl3` (invalid Base58 character 'l' at 1 position in Baid58 value)
--> line 6, column 26
|
6 | pedersen alu145mc48u7f6n9lzesm5wpvrq5y8rck9qgyyjpd2vshpv3ww7cp89qv27dl3
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error E2002: unknown operation mnemonic `scn`
--> line 9, column 17
|
9 | scn.i 0, a16[2]
| ^^^
Error E2002: unknown operation mnemonic `pld`
--> line 10, column 17
|
10 | loop: pld.i 0, a16[2], r512[3], r512[4]
| ^^^
Error E2002: unknown operation mnemonic `scn`
--> line 19, column 17
|
19 | scn.o 0, a16[1]
| ^^^
Error E2002: unknown operation mnemonic `pld`
--> line 20, column 17
|
20 | loop: pld.o 0, a16[1], r512[2], r512[3]
| ^^^
Error: could not compile `rgb20.aluasm` due to 5 previous syntax error(s); 0 warning(s) emitted
So, my question is where can I find a rgb20 script that can compile?
@dr-orlovsky It looks there are currently no way to load .rex
and .ald
files into AluVM. Do you imagine something on this? Maybe we can build aluvm
executable on this repo which would work like following:
aluvm add ./build/[email protected]
aluvm exec ./build/[email protected]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.