carp icon indicating copy to clipboard operation
carp copied to clipboard

"interesting" VM in C. Let's see how this goes.

Results 6 carp issues
Sort by recently updated
recently updated
newest added

There is something in the below I don't understand...to me the result of strtok is redundant because its inputs are constants. Is there something I am missing out? See https://github.com/tekknolagi/carp/blob/master/src/carp_tokenizer.c#L112...

Just noticed that assert macro was used twice on the same argument without change of state, any reason for this? Could be found inside carp_reg_inc and carp_reg_dec (https://github.com/tekknolagi/carp/blob/master/src/carp_registers.c#L89): ``` c...

I am using my ubuntu 14.04 virtual machine to compile carp. The used compiler is gcc 4.8.2, I tried gcc 4.6 but got the same error: ``` cc -c -g3...

Nothing is tested right now! :O

They should either all have a stack-based implementation, a register-based implementation, or both.

I have taken a look at the CARP instruction set and the basic implementation. I consider myself to be proficient in C and C++, and am volunteering to create a...