[squeak-dev] Info about OMeta/2

Hans-Martin Mosner hmm at heeg.de
Wed May 17 10:36:13 UTC 2017


Yup, that needs some taking care of. I will look into it, but probably not 
so soon...

Cheers,
Hans-Martin


Am 17. Mai 2017 11:54:54 vorm. schrieb Bert Freudenberg <bert at freudenbergs.de>:

> On Tue, May 16, 2017 at 2:33 PM, JOHN SARKELA <wiljo at mac.com> wrote:
>
>> Hi,
>>
>> I’ve been experimenting with OMeta/2. It’s a lot of fun, but there is a
>> reference to the undefined method OMeta2Compiler>>from:class:context:notifying.
>> I implemented this as an empty method and things appear to be working.
>> Could anyone enlighten me as to the intention of this message and why the
>> reference to it exists in the code base?
>
>
> ​That message used to be implemented in Compiler and got replaced when we
> factored out the state into CompilationCue as part of the introduction of
> Environments.​ It's now from:class:notifying:.
>
> ​I just tried putting it back as
>
> Compiler>>from: textOrStream class: aClass context: aContext notifying:
> aRequestor
> "Used by e.g. OMeta2Compiler"
> self
> setCue: (CompilationCue
> source: textOrStream
> context: aContext
> class: aClass
> requestor: aRequestor)
>> ​which works but there are more errors (MNU:
> OMeta2Compiler>>parseCue:noPattern:ifFail:​) and I don't have time to fix
> that one ... I guess we need to update the OMeta package.
>
> - Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170517/e41da02b/attachment.html>


More information about the Squeak-dev mailing list