COG Virtual Machine
Monday, October 17, 2005
Numerous refinements to the COG VM from Sith 2 have been backported to the public GPL source code release. Feel free to incorporate the COG VM in your own projects for the betterment of mankind.
Saturday, July 02, 2005
There have been several additions and refinements. Code generation should be near-perfect and all stack leaks should be gone.
For the binary release I also added 2 new verbs for testing:
flex s2ReadString(), which reads a string from stdin/the console.
bool s2StringCompare(string, string), which compares two strings.
The functionality of both of these hinges on how strings and flexes behave in the VM. Have fun figuring it out! :)
Tuesday, June 28, 2005
The source code for 0.03 has been posted in the files section, along with the Visual Studio 2003 project and solution files. It should compile cleanly on pretty much any operating system.
A small disclaimer: Most of the back-end stuff is only temporary, or will see an overhaul so it can be safely incorporated into a real game. It's messy, and don't count on things staying the same for very long.
Monday, June 27, 2005
- Issue involving the 'dirty stack' model and looping resolved. (seriously, thanks Sige)
- jkStringConcatFormatted*() actually works now. I test these things, I swear.
The following improvements have been made over the original release:
- First Win32 port available
- Added support for the missing grammar for(expression-statement; expression-statement; )
- No longer case-sensitive