bit-hack/nano-script

Abstract value type

Closed this issue · 2 comments

The virtual machine operates only on int32_t type, but it would be nice to abstract this somehow so it would be easier to replace it with an object system or fixed point type.

Everything is changed over to value_t, so at least its more readable.

CCML has now been converted into a dynamically typed language. All VM values were abstracted to a value_t object, and they can be of none, int, string or array types.