Oh, you wanna add big int types to the scripting engine instead of a simple binding of a big int library?

Then you just gotta reverse engineer and fit the bison/flex scanner/parser/opcode generator/interpreter.

As easy introduction I suggest this little toy language: http://www.peroxide.dk/tuts_scr.shtml