VMMaker assert failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VMMaker assert failure

KenDickey
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.

Am I doing the right thing here?

Thanks much,
-KenD
_______________________________________________
VM-beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners
-KenD
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker assert failure

Eliot Miranda-2
Hi Ken,

On Sun, Dec 16, 2018 at 12:54 PM Ken.Dickey <[hidden email]> 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

_______________________________________________
VM-beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners