An open API service indexing awesome lists of open source software.

https://github.com/gabrielravier/amethyst-virtual-processor

Embed this to your whatever! Amethyst bytecode is kind of primitive though. I HAVE no idea how proper bytecodes are done so bear with me. If you're looking for the most BASIC bytecode, you've come to the right place?
https://github.com/gabrielravier/amethyst-virtual-processor

Last synced: over 1 year ago
JSON representation

Embed this to your whatever! Amethyst bytecode is kind of primitive though. I HAVE no idea how proper bytecodes are done so bear with me. If you're looking for the most BASIC bytecode, you've come to the right place?

Awesome Lists containing this project

README

          

# Amethyst-Virtual-Processor

// Programmed with luv. \~~kernels ♥♥♥

#### ~~IF YOU SAY AMETHYST TAN IS AN ESOTERIC LANGUAGE AND/OR A TOY LANGUAGE, I WILL PERSONALLY FIND YOU.. IMAGINE THE REST OF WHAT I WILL DO TO YOU.~~
lol jk chill

Embed this to your whatever! Amethyst bytecode is kind of primitive though. I HAVE no idea how proper bytecodes are done so bear with me. this is some dumb project

Though, this is a hastily written program, documentations, and etc. I want this finished by September... Because issues in real life(School starts in September. And no that isn't the reason). Probably won't be able to finish the rest of the projects I've started before September.

>*~~THIS IS A CRY FOR HELP~~* mn5cf2SSX0Q5AcF2Em70EPadN+IpivEY67S6EA7NWW5yCNP7ptKt1RiiDT6hA1t1wSVfQSDQERsI1+RYCv3ow7GZJ/l/IGcG

After waking up, I greet my IDE to start programming right away. Countless all-nighters and the occasional mental breakdown.. but whatever the troubles of getting to finish this. I think it will be all worth it.. I guess.

~~**EDIT**: Most of the time I've spent was actually napping~~

Hopefully it's useful..

### Todo list

**OH MY DAYS THE INTERPRETER ISN'T TESTED YET\. IT LOOKS GREAT IN CODE, BUT I CAN'T BE SURE IT WILL WORK\.**

Done:
* Interpreter (C)

~~Done~~:
* Assembler (C#)
* Disassembler (C#)
* Amethyst IDE (C#)
* Interpreter (Lua)
* Assembler (Lua)
* Amethyst Micro IDE (Lua)

## Q/A
Though I don't think some weird trash designed in a span of 2 weeks is something to be proud of... I guess I'll still add information about it. README wants to be filled in aswell, y know. ~~it gets lonely~~
#### What is the purpose of this?
Amethyst bytecode is supposed to be portable code. (Same program can be run on different machines)
If there is a small game/program that needs scripting. I/you can easily implement and port this. The parsing and interpreting is dead simple so it shouldn't be a problem with many programming languages. It's complexity isn't a problem aswell.

#### What is the assembly language?
The assembly language was first designed by me, but it really looks like Zachronics' syntax(Shenzhen IO and TIS 100)(UPDATE: 2.1 now staying away from zack's syntax). So I just copied the whole thing.
Parsing it aswell is very simple. All you need is spliting strings and converting them to bytes. It's not very complex. The only complex part is the JMP instruction.

#### Is the build failing?

As of now. Yes. It is. Did I test it? OF COURSE NOT. Was any of the programs ran once at all? Ahaha what are yuo talking about? OF COURRRSEE NOT! Yuo simpleton programmer. If you mindlessly write 100 lines of code without testing. I'm gay/straight for you now lmao.

(UPDATE: It has been v2.1.. AND SITLL HASN'T BEEN TESTED YET.)

~~As my insanity grows. I can't tell what I will do next. I'm just supressing it. I want to burst into laughter to release all the pain.~~