UPDATE: To download the VM, visit the COG Virtual Machine hub project page.
...version 0.000000000000000000001 pre-alpha.
I believe it supports all COG grammar constructs. 7,597 lines of code written mostly in the span of 2 nights and fueled with the power of Dr. Pepper. It automatically calls SendMessage(startup) and then exits. If you find something that doesn't work, I implore you to post the COG and paste what error message (if any) the VM gives you.
Currently it supports the following COGLIB functions:
New verbs can be added with one line of code, but virtually all of them are useless without the JK engine sitting behind it.
For now I'm only able to provide a Linux x86 ELF binary, but I'll port it as soon as I can so the majority of you can (hopefully) test it out for me.
I do not take responsibility if using this program causes any damage
...version 0.000000000000000000001 pre-alpha.
I believe it supports all COG grammar constructs. 7,597 lines of code written mostly in the span of 2 nights and fueled with the power of Dr. Pepper. It automatically calls SendMessage(startup) and then exits. If you find something that doesn't work, I implore you to post the COG and paste what error message (if any) the VM gives you.
Currently it supports the following COGLIB functions:
Code:
void jkStringClear(); void jkStringConcatAsciiString(string_literal); void jkStringConcatFlex(flex); void jkStringConcatFormattedFlex(flex, string_literal); void jkStringConcatFormattedInt(int, string_literal); void jkStringConcatInt(int); void jkStringConcatSpace(); void jkStringOutput(); void Print(string_literal); void PrintFlex(flex); void PrintInt(int);
New verbs can be added with one line of code, but virtually all of them are useless without the JK engine sitting behind it.
Code:
COG::CogLib::InjectLibraryFunction("jkStringConcatFormattedFlex", 2, &jkStringConcatFormattedFlex);
For now I'm only able to provide a Linux x86 ELF binary, but I'll port it as soon as I can so the majority of you can (hopefully) test it out for me.
I do not take responsibility if using this program causes any damage