Exporting from Sage to Macaulay2
I am trying to use Macaulay2 in CoCalc and I am running into a problem that I can't make Macaulay2 take any input that was previosly computed by Sage:
a = 2
b = 3
macaulay2('a+b')
This gives an Error message instead of 5. How do I correct it? (In the end of the day I need to work with fans because Macaulay2 Polyhedra package has some functions that Sage packages don't have, but I guess knowing the answer to the question above should be enough for me. Thank you.)