I think the tests for Tonel reader/writer do exactly that in memory trick - so
I think we could get a no e soln. But to get 1.0 I think we get a menu item
running with import/export and then we can in parallel write examples and build
out a better integration.
Would be nice to show we can play
On 30 June 2018 at 16:24, Ben Coman wrote:
> On 16 Jun 2018, at 15:38, Ben Coman wrote:
>>
>> Le 16/06/2018 à 10:43, Ben Coman a écrit :
>>
>>> How can a fileout/filein be done using Tonel format?
>>> In the first case as a script?
>>> and secondly as a possible menu option for Pharo?
>>>
>>> Th
>
> On 16 Jun 2018, at 15:38, Ben Coman wrote:
>
> Le 16/06/2018 à 10:43, Ben Coman a écrit :
>
>> How can a fileout/filein be done using Tonel format?
>> In the first case as a script?
>> and secondly as a possible menu option for Pharo?
>>
>> This is to facilitate transfer of student coding exer
As another output (and an answer to Ben’s question) - to output, you need a
snapshot - the easiest I could work out was something like:
TonelWriter new sourceDir: '.' asFileReference; writeSnapshot: (MCPackage
named: HelloWorldTest package name) snapshot.
> On 29 Jun 2018, at 17:11, Tim Macki
Just as a followup to this - Bens suggestion can be slightly simplified (and
less dependent on implementation details) as:
tonelStream := ‘…path…./src/Polymorph-Widgets-Rules/IconShortcutRule.class.st'
asFileReference readStream.
parser := (TonelParser on: tonelStream).
parser document do: [ :it
Not quite the same usecase . But on github it’s a brilliant format for a side
project - I can hack code on the tube on my phone with a build ci server to
report the results when I surface (very lazy programming, but with a family and
limited time - needs must) .
Tim
Sent from my iPhone
> On 1
> On 16 Jun 2018, at 16:38, Ben Coman wrote:
>
> Le 16/06/2018 à 10:43, Ben Coman a écrit :
> How can a fileout/filein be done using Tonel format?
> In the first case as a script?
> and secondly as a possible menu option for Pharo?
>
> This is to facilitate transfer of student coding exercises
Le 16/06/2018 à 10:43, Ben Coman a écrit :
> How can a fileout/filein be done using Tonel format?
> In the first case as a script?
> and secondly as a possible menu option for Pharo?
>
> This is to facilitate transfer of student coding exercises for Exercism.
> http://exercism.io/languages/pharo/
Hi Ben,
I am not sure, but the purpose of Tonel is to propose a file
representation of "one class=one file".
In that case, does exporting a whole package in one file with the Tonel
notation exist or make sense?
Why not using Fileout st files to transfer the code?
(RPackage named: 'DrGeoII-