SystemOrganization addCategory: #PetitCSV! PPCompositeParser subclass: #PPCommaSeparatedParser instanceVariableNames: 'row cell' classVariableNames: '' poolDictionaries: '' category: 'PetitCSV'! !PPCommaSeparatedParser methodsFor: 'as yet unclassified' stamp: 'tg 6/10/2010 19:06'! cell ^ ($- asParser optional , #digit asParser plus , ($. asParser , #digit asParser plus) optional) token trim ==> [ :token | token value asNumber ]! ! !PPCommaSeparatedParser methodsFor: 'as yet unclassified' stamp: 'tg 6/11/2010 14:30'! row ^ cell, ($, asParser token, cell ==> [:tokens | tokens last ]) star ==> [:tokens | (OrderedCollection with: tokens first) addAll: tokens last ]! ! !PPCommaSeparatedParser methodsFor: 'as yet unclassified' stamp: 'tg 6/11/2010 14:27'! start ^ row end! !