>>1
If you mean converting C to Javascript then yes, for standards-compliant C programs.
Just fake pointers with a pair (array, index). Pointer arithmetics outside the allocation unit are undefined by the standard.
Plus you would have to go for some lengths to provide proper modulo arithmetics. Also, I'm to lazy to look it up, but it is possible that setjmp/longjmp are in the standard, so you'd have to find a way to emulate them somehow.