[Vm-beginners] VMMaker assert failure

Eliot Miranda eliot.miranda at gmail.com
Sun Dec 16 22:00:31 UTC 2018


Hi Ken,

On Sun, Dec 16, 2018 at 12:54 PM Ken.Dickey <Ken.Dickey at whidbey.com> wrote:

> Greetings,
>
> I am using VMMaker on RasPi3 Raspian 32 bit.
>
> I have built the gdbarm32 debugger plugin and am trying to generate the VM
> source code.
>
> I hit an assert because
>    #'strcpy:_:' numArgs. --> -1
>
> I notice that in Cuis,
>    #'strcpy:_:' numArgs. --> 2
>
> Perhaps a recent change in #Character>>isLetter ..??
>
> Changing the test in #String>>numArgs so that $_ is allowed in place of
> letters allows codegen to complete.
>

Right; one needs to be in an up-to-date trunk image for the current
VMMaker.oscog to work.  See:

Name: Collections-eem.806
Author: eem
Time: 18 September 2018, 11:54:09.798435 am
UUID: 300fdef5-d563-4e05-b16c-f82c15cc005f
Ancestors: Collections-cmm.805

Fix String>>numArgs for _: keywords (to accompany Compiler-eem.394)

Name: Compiler-eem.394
Author: eem
Time: 18 September 2018, 11:01:49.239937 am
UUID: 446b4a31-2799-41fa-82d4-e503a94fb360
Ancestors: Compiler-bf.393

Fix a bug in Scanner>>xUnderscore that prevented parsing e.g.

method: p _: q _: r
^'cool'


>
> Am I doing the right thing here?
>

Yes.  What image/system are you using for development?

Thanks much,
> -KenD
>

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20181216/51ee96ff/attachment.html>


More information about the VM-beginners mailing list