smalltalk
/
osmo-st-all
Archived
1
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
osmo-st-all/petitparser/PORTING

20 lines
685 B
Plaintext

This is a port of PetitParser-lr.190.mcz and PetitTests-lr.8.mcz
to the GNU Smalltalk System. This document holds the information
of how it was converted.
0.) basic gst-convert to translate from Squeak to GST
1.) Text does not exist, remove code related to it.
2.) asString -> asSymbol for all codes.
3.) maxVal -> largest
4.) Symbol>>value added for compability
5.) reversed -> reverse
6.) 0.7 as subtraction result
7.) Change ==> to => and >=> to ><
8.) PositionableStream needs changes. The PetitParser attempts
to access variables directly, the names are different from
Pharo to here.
Testing the port...
gst-unit -f PetitParser.st -f PetitParserTests.st TestClasses...