Commit graph

23 commits

Author SHA1 Message Date
b1eceec1d2 Delete ByteCode.cs
To seperate process: 1) into asm 2) into bytecode
2015-02-18 12:34:57 +08:00
64c9c01371 Small changes 2015-02-18 12:31:58 +08:00
6ccb8b56fb Minor changes: more comments, changed pattern for constant matching 2015-02-16 18:26:06 +08:00
c2219325c9 Added first final version of Compiler for VaninVM 2014-02-21 15:02:01 +04:00
095dafa97d Fixed some bugs with ariphmetic operations 2014-02-21 15:00:08 +04:00
23b8731e40 Fixed bug when arguments of functon where in memory in wrong order 2014-02-13 11:07:19 +04:00
2ff331b755 Fixed bug, when hash code of function was sign and it did not took a place in hash table properly 2014-01-29 22:09:31 +04:00
9177bdcc2c Simple Assembler for VaninVM. Wrote on C#. Short tutor in readme.txt 2014-01-29 21:42:03 +04:00
e2d0d56299 Fixed major bug with compiling in release-mode: wrong allocated memory. initTOS now takes size of TOS as parameter. Improved work with contexts: now memory releases after popping context from stack 2014-01-29 21:37:48 +04:00
ff0ef7f0bb VaninVM/Main.c 2014-01-29 14:13:11 +04:00
3b2abd8de4 Changed layout of Main.c file 2014-01-28 14:43:49 +04:00
5eda4968c7 Changed the way CALL works: not it is copy into local variables arguments from stack 2014-01-28 14:33:26 +04:00
73c63fa7aa Now ip changes in switch statement 2014-01-28 14:13:21 +04:00
808f62b97e Changed the way local variables are works, now it is a bunch of unions. ReturnStack now have changable size. Strins are now char* instead int 2014-01-28 13:56:45 +04:00
159c5ed01f First full version. Added all opcodes, improved work with contexts 2014-01-28 12:46:28 +04:00
7712440064 Added support for functions and dynamic contexts. Improved work with constant pool 2014-01-27 16:09:25 +04:00
792724bcd1 Added constant-support 2014-01-27 08:43:58 +04:00
17e632ad0b TOS finally changed to work with 8-bit long integers, added a few instructions 2014-01-26 11:45:07 +04:00
486b73fcea Changed organisation of TOS. Now its 8-byte stack instead 4-byte before 2014-01-26 10:39:22 +04:00
c70ee283ba Added new opcodes and list of avaliable opcodes 2014-01-26 09:37:18 +04:00
0e0c64007f Added enum for instructions 2014-01-15 13:54:42 +04:00
9d30a3f8f5 First alpha version. Added support for putting\getting from TOS int and double 2014-01-14 22:13:31 +04:00
8d09513639 First Commit 2014-01-14 22:01:44 +04:00