use sweet.js instead of cpp