[Glass] xml pull parser for gemstone/glass

Richard Sargent richard.sargent at gemtalksystems.com
Thu Nov 28 14:58:50 PST 2013


Yes, it would be nice. We're working on it.
 On Nov 28, 2013 4:53 PM, <bobn at rogers.com> wrote:

> Paul,
> I have XMLPullParser loaded into a GemTools-1.0-beta.8.7-3101x Pharo image
> and I'm installing GLASS into a new Linux VM so that I can load & then file
> out the XMLPullParser classes... feels like I'm using a Bazooka to kill a
> fly.
>
> Sure would be nice if GS had a public code repository that could be
> accessed from Topaz.
>
> Bob
>
>
>   On Thursday, November 28, 2013 4:40:32 PM, Paul DeBruicker <
> pdebruic at gmail.com> wrote:
>  Hi Bob,
>
> I don't have much to add but that the current stable GemTools only works in
> Pharo 1.1.
>
>
>
> Does the base GS have the Gofer class?
>
> Good luck
>
> Paul
>
>
>
>
>
> Bob Nemec wrote
> > BTW: I am trying to get GemTools to work in my Pharo image
> > (Pharo3.0 update: #30598) with the non-GLASS GS, but running...
> >
> >   Gofer new
> >
> >     squeaksource: 'MetacelloRepository';
> >     package: 'ConfigurationOfGemTools';
> >     load.
> >   (Smalltalk at: #ConfigurationOfGemTools)
> >         perform: #loadLatestVersion.
> >   (Smalltalk at: #GemToolsHelpBrowser) open.
> >
> > ...but when #loadLatestVersion is sent I get a syntax error...
> >
> > ffiPrintString: aString
> > "FFITestLibrary ffiPrintString: 'Hello'"
> > <cdecl: char'>
> > ' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'>
> > ^self externalCallFailed
> >
> > ...so now I'm hacking away with one-click GemTools Pharo image
> >
> > Bob
> >
> >
> >
> > On Thursday, November 28, 2013 8:15:02 AM, "
>
> > bobn@
>
> > " <
>
> > bobn@
>
> > > wrote:
> >
> > This is where I expose my ignorance: I don't know how to connect a Pharo
> > image to a non-GLASS GS.
> > It's probably trivial, which makes it all the more embarrassing ;-)
> >
> > Perhaps I should have asked a more general question: what are the options
> > for parsing XML on GS and which one is recommended for simple files?
> >
> > The XML in this case is my own data export from another GS repository. I
> > could use VW to parse and load the data, but I'd like to makes this all
> > work from a Topaz script.
> >
> > Bob
> >
> >
> >
> > On Thursday, November 28, 2013 1:03:57 AM, Johan Brichau <
>
> > johan@
>
> > > wrote:
> >
> > Bob,
> >
> > AFAIK, the code should load in exactly the same way into a non-GLASS
> > gemstone setup as well, providing you have Metacellopreview and Grease
> > loaded.
> >
> > But I'm a GLASS user, so I might miss a detail about the non GLASS?
> >
> > Johan
> >
> >
> > On 27 Nov 2013, at 23:36,
>
> > bobn@
>
> >  wrote:
> >
> >
> > Hello all,
> >>I'm working on non-GLASS GS 3.1.0.4 (VW 9.1, GBS 7.6) application and
> could use XMLPullParser. What is the easiest way to get the code into GS?
> >>I used Metacello to load the code into a Pharo image, and I'm sure that I
> can get the code in GS various ways, but it feels like I'm hacking ...
> there
> must be simple way (I've had my head buried in our application framework
> code; not enough time to learn new things).
> >>
> >>
> >>Any suggestions?
> >>
> >>
> >>Thanks,
> >>Bob Nemec
> >>
> >>
> >>
> >>On Sunday, November 24, 2013 3:40:07 AM, Johan Brichau <
>
> > johan@
>
> > > wrote:
> >>
> >>Bruno,
> >>
> >>
> >>I don’t know of any previously existing version of XMLPullParser for
> Gemstone/GLASS. This is why I started the github repository [1] for it.
> >>It turns out that the code changes for GLASS are very minimal; even so
> small that the GLASS version will work in Pharo too.
> >>
> >>
> >>I now included load instructions in the README of the repo [1].
> >>Mind that in [2], Dale gives more info on how to work with Smalltalk and
> Metacello on Github.
> >>
> >>
> >>The question is if the small set of tests are representative to say
> anything about the full workings of the parser. There were some
> unimplemented messages being sent in the original code base, which gives me
> the impression it is a work in progress. So, we will have to see wether the
> GLASS and Pharo versions diverge or merge.
> >>
> >>
> >>Cheers
> >>Johan
> >>
> >>
> >>[1] https://github.com/glassdb/XMLPullParser
> >>[2]
> https://github.com/dalehenrich/metacello-work/blob/master/docs/GettingStartedWithGitHub.md
> >>
> >>On 23 Nov 2013, at 16:10, BrunoBB <
>
> > smalltalk at .com
>
> > > wrote:
> >>
> >>Hi,
> >>>
> >>>Which is the official Monticello repository for GLASS XMLPullParser ?
> >>>
> >>>Or how i install XMLPullParser into GLASS from github ?
> >>>
> >>>Regards,
> >>>Bruno
> >>>
> >>>
> >>>
> >>>--
> >>>View this message in context:
>
> http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4724549.html
> >>>Sent from the GLASS mailing list archive at Nabble.com.
> >>>_______________________________________________
> >>>Glass mailing list
> >>>
>
> > Glass at .gemtalksystems
>
> >>>http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>>
> >>
> >>
> >>_______________________________________________
> >>Glass mailing list
> >>
>
> > Glass at .gemtalksystems
>
> >>http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>
> >>
> >>
> > _______________________________________________
> >>Glass mailing list
> >>
>
> > Glass at .gemtalksystems
>
> >>http://lists.gemtalksystems.com/mailman/listinfo/glass
> >>
> >
> >
> >
> > _______________________________________________
> > Glass mailing list
>
> > Glass at .gemtalksystems
>
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
> > _______________________________________________
> > Glass mailing list
>
> > Glass at .gemtalksystems
>
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/Glass-xml-pull-parser-for-gemstone-glass-tp4724496p4726009.html
>
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131128/26c522c6/attachment.html>


More information about the Glass mailing list