You're close. You can use print, specifically, the patented Stupid Print Trick (tm) to force an evaluation:
<<= '<<set _result to ' + $numberOne + $operator + $numberTwo + '>>' >>
That said, a function or a widget is probably a cleaner way to achieve this.
Warning: I didn't test this code. It's possible I made a syntax error.