Animation wise? Not entirely sure what you're asking about but you can download the .love file, unzip it (it's a zip really) and see the code. It's not very long.
I think you'll find all the answers in weapons/BaseWeapon.lua, weapons/Sword.lua, and player/Player.lua.
Don't worry even if you don't know lua, it's pretty much looks like pseudo-code :)