How to programatically evaluate code in GemStone
Here we manually use the default GtGemStoneSession
to evaluate code.
gemstoneSession := GtGemStoneSessionRegistry default sessionNamed: 'default'. gemstoneSession ensureRunning.
We can evaluate some simple snippets.
gemstoneSession evaluateAndWait: 'System stoneName'
gemstoneSession evaluateAndWait: 'Dictionary new add: (1->2); yourself'
gemstoneSession evaluateAndWait: 'SessionTemps current'