exercism / pharo-smalltalk

Exercism exercises in Pharo.
https://exercism.org/tracks/pharo-smalltalk
MIT License
34 stars 28 forks source link

[v3] Export Pharo objects to source code text files. #440

Open samWson opened 4 years ago

samWson commented 4 years ago

Source code is not written in text files in Pharo. Instead it is all in an image file which is essentially a snapshot of object memory.

To write exercises for the website we need to serialize Pharo objects as human readable text files. This is something we already do for v2. I'm going to rewrite just the code I need and add it to the pharo-smalltalk part of this repo.

The outcome of this issue is that we can write exercises in the Pharo IDE and have the exercise text files we need in the repo.

samWson commented 4 years ago

This pull request to the V2 repo puts the existing exercise generator code under test: https://github.com/exercism/pharo-smalltalk/pull/426

With that done I can duplicate most of it's functionality for a V3 exercise generator. I'll then move common code into an abstract super class.