Sinisterly
[Source]StackBasedVirtualMachin - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework)
+--- Thread: [Source]StackBasedVirtualMachin (/Thread-Source-StackBasedVirtualMachin)



[Source]StackBasedVirtualMachin - LaTortue - 05-21-2016

Hello,
only 13 instructions available for the time being (START NOP PUSH POP ADD SUB MUL DIV CMP JMP JE JNE DUP SWAP PRINT READ END)




RE: [Source]StackBasedVirtualMachin - zorrophreak - 05-23-2016

Nice cool thing to use and base on. ;D


RE: [Source]StackBasedVirtualMachin - LaTortue - 06-01-2016

31/05/16: can generate standalone executable !


RE: [Source]StackBasedVirtualMachin - 0xDEAD10CC - 06-19-2016

Standalone executable would mean that you are able to execute it without any kind of interpreter. I doubt that is the case here unless you're compiling to the PE format. What opcode mapping do you have if this is the case; you have it running in your interpreter? Do you create your own heap and stack for memory ?

This seems similar to a challenge I posted a solution for: https://github.com/bitm0de/SynacorChallenge


RE: [Source]StackBasedVirtualMachin - LaTortue - 07-14-2016

the executable IS the interpreter, and the program to execute is embedded as a resource inside the executable. Upon execution, the interpreter grabs the code inside its resources, and then parses and executes it. It's now possible to build both in "debug" and "release" mode; about the opcode list, just check README.md, and for the stack, i use a simple collection ( https://msdn.microsoft.com/fr-fr/library/system.collections.stack(v=vs.110).aspx )


RE: [Source]StackBasedVirtualMachin - Gladiyator - 06-16-2018

File seems removed from github , any one have it ?


RE: [Source]StackBasedVirtualMachin - 0x59 - 10-21-2018

(06-16-2018, 01:54 AM)Gladiyator Wrote: File seems removed from github , any one have it ?

If I am correct this is the repository.
https://github.com/moonpatroller/StackBasedVirtualMachine