AbtCLangParser and function prototypes

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

AbtCLangParser and function prototypes

Richard Sargent
Administrator
When using the AbtCLangParser to parse:
    unsigned char GciProduct(void);
the resulting prototype declaration converts to a signed platform function, rather than unsigned.

e.g. <c: int8 'xyzzy':GciProduct> instead of <c: uint8 'xyzzy':GciProduct>


Any recommendations for making this work correctly without hacking vendor code?

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: AbtCLangParser and function prototypes

dmacq
Richard,

You are correct that this is wrong and the vendor code does indeed need to be hacked.  I will look into it along with your other questions.

Feel free to send your own hack. ;-)

Thanks,

Donald [|]

On Thursday, December 5, 2013 5:45:19 PM UTC-5, Richard Sargent wrote:
When using the AbtCLangParser to parse:
    unsigned char GciProduct(void);
the resulting prototype declaration converts to a signed platform function, rather than unsigned.

e.g. <c: int8 'xyzzy':GciProduct> instead of <c: uint8 'xyzzy':GciProduct>


Any recommendations for making this work correctly without hacking vendor code?

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: AbtCLangParser and function prototypes

Richard Sargent
Administrator
Thanks, Donald. I will send you my hacks in a day or two. I think most of them are pretty reasonable code, but others may need some work to be "product quality".

Other hacks would benefit from changing the implementation from hard-coded to variable-based, so customers could augment the default. e.g. there is a class-side method listing a number of words which makes it difficult to add an extra word to the list.


On Mon, Dec 16, 2013 at 10:44 AM, Donald MacQueen <[hidden email]> wrote:
Richard,

You are correct that this is wrong and the vendor code does indeed need to be hacked.  I will look into it along with your other questions.

Feel free to send your own hack. ;-)

Thanks,

Donald [|]

On Thursday, December 5, 2013 5:45:19 PM UTC-5, Richard Sargent wrote:
When using the AbtCLangParser to parse:
    unsigned char GciProduct(void);
the resulting prototype declaration converts to a signed platform function, rather than unsigned.

e.g. <c: int8 'xyzzy':GciProduct> instead of <c: uint8 'xyzzy':GciProduct>


Any recommendations for making this work correctly without hacking vendor code?

--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/vmzIf5fSfi0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.



--
Richard Sargent
Business Development Manager
503-766-4719
[hidden email]
GemTalk Systems
15220 NW Greenbrier Parkway #240
Beaverton, OR 97006

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: AbtCLangParser and function prototypes

dmacq
created case 53116

On Monday, December 16, 2013 2:07:20 PM UTC-5, Richard Sargent wrote:
Thanks, Donald. I will send you my hacks in a day or two. I think most of them are pretty reasonable code, but others may need some work to be "product quality".

Other hacks would benefit from changing the implementation from hard-coded to variable-based, so customers could augment the default. e.g. there is a class-side method listing a number of words which makes it difficult to add an extra word to the list.


On Mon, Dec 16, 2013 at 10:44 AM, Donald MacQueen <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="HU9pYkn7wEYJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">dm...@...> wrote:
Richard,

You are correct that this is wrong and the vendor code does indeed need to be hacked.  I will look into it along with your other questions.

Feel free to send your own hack. ;-)

Thanks,

Donald [|]

On Thursday, December 5, 2013 5:45:19 PM UTC-5, Richard Sargent wrote:
When using the AbtCLangParser to parse:
    unsigned char GciProduct(void);
the resulting prototype declaration converts to a signed platform function, rather than unsigned.

e.g. <c: int8 'xyzzy':GciProduct> instead of <c: uint8 'xyzzy':GciProduct>


Any recommendations for making this work correctly without hacking vendor code?

--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/va-smalltalk/vmzIf5fSfi0/unsubscribe" target="_blank" onmousedown="this.href='https://groups.google.com/d/topic/va-smalltalk/vmzIf5fSfi0/unsubscribe';return true;" onclick="this.href='https://groups.google.com/d/topic/va-smalltalk/vmzIf5fSfi0/unsubscribe';return true;">https://groups.google.com/d/topic/va-smalltalk/vmzIf5fSfi0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="HU9pYkn7wEYJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="HU9pYkn7wEYJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">va-sma...@....
Visit this group at <a href="http://groups.google.com/group/va-smalltalk" target="_blank" onmousedown="this.href='http://groups.google.com/group/va-smalltalk';return true;" onclick="this.href='http://groups.google.com/group/va-smalltalk';return true;">http://groups.google.com/group/va-smalltalk.
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/groups/opt_out.



--
Richard Sargent
Business Development Manager
503-766-4719
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="HU9pYkn7wEYJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">richard...@gemtalksystems.com
GemTalk Systems
15220 NW Greenbrier Parkway #240
Beaverton, OR 97006

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.