Can you not just discretize the target space? I mean, the compact boson is just a free field ϕ with the identification ϕ∼ϕ+β. You could have a lattice with L sites x and at every site ϕ(x) can take values 0,β/N,…,β. You are truncating the spectrum of the theory, obviously: you only probe ∼N vertex operators with low enough winding numbers and throw away the rest. The Hamiltonian would just be the kinetic term (∂μϕ)2, and of course you need to take the identification β∼0 into account when computing its value. A nice feature is that this construction is obviously invariant under shifts ϕ→ϕ+const.