When loading PetitParser into GemStone I need to create a new class Stack with #push:, #pop, and #top. I've done this as a subclass of OrderedCollection with #add:, #removeLast, and #last. For maximum portability it would be nice to remove this dependency.
When loading PetitParser into GemStone I need to create a new class Stack with #push:, #pop, and #top. I've done this as a subclass of OrderedCollection with #add:, #removeLast, and #last. For maximum portability it would be nice to remove this dependency.