what I did in botsinc was an editor for a single class may be you reuse that.
Stef
On Nov 3, 2011, at 3:31 PM, Hilaire Fernandes wrote:
> Let's say I want the user to describe a point position with a blockclosure:
>
> [:parents |
> compute-point-coordinates]
>
> I can use a workspace to let the user write this code, then caputre the
> workspace content.
>
> I will prefer I code browser, but it is attached to classes. I can of
> course use a dummy class... Many alternatives. Are there other alternatives?
>
> Hilaire
>
>
> Le 03/11/2011 08:09, Stéphane Ducasse a écrit :
>> What do you mean by a block of code?
>>
>> With a syntax for method
>>
>>
>> Point>>foo
>> [
>>
>> ]
>>
>> ?
>> in that case I would use the syntax extension we did for coral based on petitparser.
>>
>> Stef
>>
>> On Nov 1, 2011, at 9:30 PM, Hilaire Fernandes wrote:
>>
>>> From DrGeo I would like the user to edit Smalltalk code in the form of
>>> block of code.
>>> The user interface I need is maninly to let the user write and compile
>>> code. When compiled, DrGeo should get a notification to fetch the code
>>> for internal use.
>>>
>>> What is the best candidate to do that ?
>>>
>>> Hilaire
>>>
>>>
>>> --
>>> Education 0.2 --
http://blog.ofset.org/hilaire>>>
>>>
>>
>>
>>
>
>