Skip to content

feenkcom/gt4gemstone

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

gt4gemstone

A Gtoolkit interface to GemStone

Installation

To install the Pharo component in a Gt image (currently only tested in a vanilla Pharo 9 image):

Metacello new
	repository: 'github://feenkcom/gt4gemstone:main/src';
	baseline: 'GtGemstoneClient';
	load

Installation in to the GemStone server is TBS.

Testing the installation

All tests in GToolkit-GemStone-Test package should pass.

With the GemStone RSR server running (Sparkle/src-gs/server.sh):

| connection evaluatorServiceClient result |

connection := (RsrInitiateConnection host: 'localhost' port: 29299) connect.
evaluatorServiceClient := GtRsrEvaluatorServiceClient new.
evaluatorServiceClient registerWith: connection.

evaluatorServiceClient script: '4+3'.
result := evaluatorServiceClient doIt.
{ result. connection.  evaluatorServiceClient. }

The result should be a RsrPromise with value 7.