lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Do you know a simple, free C implementation of this fingerprint method?
> If so, then it should be simple to adapt it to work with Lua types.

mark mitchell posted the following C translation of the modula-3 fingerprint
algorithm to the gcc mailing list many moons ago.  license is bsd-like.

    http://gcc.gnu.org/ml/gcc/1999-11n/msg00592.html
    http://www.codesourcery.com/public/cxx-abi/fingerprint.h
    http://www.codesourcery.com/public/cxx-abi/fingerprint.c

documentation for the original modula-3 interface (via google):
    http://www.cs.arizona.edu/~collberg/Research/Modula-3/m3sources/html/fingerprint/src/Fingerprint.i3