| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 1 | Author: Patrick Collison <patrick@collison.ie> | 
|  | 2 | Last updated Nov 2007 | 
|  | 3 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 4 | To get started, just file in thrift.st with Squeak, run thrift -st | 
|  | 5 | on the tutorial .thrift files (and file in the resulting code), and | 
|  | 6 | then: | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 7 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 8 | calc := CalculatorClient binaryOnHost: 'localhost' port: '9090' | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 9 | calc addNum1: 10 num2: 15 | 
|  | 10 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 11 | Tested in Squeak 3.7, but should work fine with anything later. |