It looks like a carbine, but legally it is a semi-automatic pistol, at least in the U.S. where it is manufactured. It is called the Jackhammer, is chambered in .22 Long Rifle caliber, and can use fifty-round drum magazines. If it reminds you of anything, you are right: in many details it alludes to the venerable Thompson submachine gun.