[Pharo-users] YAML parser (2017)

2017-05-29 Thread Peter Uhnak
Hi, do we have a working parser for YAML? There's PPYAMLGrammar (in PetitParser), however it doesn't seem to work in Pharo 6 at all (not even tests pass). In Pharo 5 the tests are green, but using it on YAML content still fails... with small fix I managed it to "pass", however the output seems

Re: [Pharo-users] YAML parser (2017)

2017-05-29 Thread Thierry Goubier
Hi Peter, If you have a BNF of YAML, then a SmaCC parser with AST generation is at most a day of work. I can help. Thierry 2017-05-29 9:15 GMT+02:00 Peter Uhnak : > Hi, > > do we have a working parser for YAML? > > There's PPYAMLGrammar (in PetitParser), however it doesn't seem to work in > Pha

Re: [Pharo-users] How to use uFFI with String

2017-05-29 Thread p...@highoctane.be
Time to learn. Phil On Mon, May 29, 2017 at 1:24 AM, horrido wrote: > I don't use GitHub. I've never used GitHub. I don't know how to use GitHub. > > I looked at making a pull request and I was totally stymied. "Clueless" > doesn't even begin to describe how I felt. > > > Ben Coman wrote > > On

Re: [Pharo-users] How to use uFFI with String

2017-05-29 Thread Ben Coman
On Mon, May 29, 2017 at 7:24 AM, horrido wrote: > I don't use GitHub. I've never used GitHub. I don't know how to use GitHub. > > I looked at making a pull request and I was totally stymied. "Clueless" > doesn't even begin to describe how I felt. Everyone starts there. Its a useful skill to have

Re: [Pharo-users] New booklet :) on Bloc this time

2017-05-29 Thread Glenn Cavarlé
Nice! :) Glenn. - Glenn Cavarlé -- View this message in context: http://forum.world.st/New-booklet-on-Bloc-this-time-tp4948511p4948539.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] New booklet :) on Bloc this time

2017-05-29 Thread Marc Hanisch via Pharo-users
--- Begin Message --- Hello, thanks again for another fantastic tutorial / book! For beginners (like me), it would be nice to have some sentences in the introduction about what Bloc is about :-) There are so many Smalltalk Projects with fancy names out there, that it is hard to have get an overvie

Re: [Pharo-users] New booklet :) on Bloc this time

2017-05-29 Thread Dimitris Chloupis
Congratulations * 100 times I love to see more and more documentation for Pharo :) On Mon, May 29, 2017 at 2:53 PM Marc Hanisch via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello, > > thanks again for another fantastic tutorial / book! > For beginners (like me), it would be nice to ha

[Pharo-users] Pharo and QT

2017-05-29 Thread Dimitris Chloupis
Is there an interest for working with QT from Pharo ? I make no promises just something I was interested in trying.

[Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Offray Vladimir Luna Cárdenas
Hi, I'm using Mustache for a project to build a dynamic distributed web site generator for public & open data, backed by Fossil and using Material Design Lite. I have a template like this: {{#twitter}} Twitter https://

Re: [Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Norbert Hartl
Can you show some data you are injecting? It should work as you expect it. Norbert > Am 29.05.2017 um 15:26 schrieb Offray Vladimir Luna Cárdenas > : > > Hi, > > I'm using Mustache for a project to build a dynamic distributed web site > generator for public & open data, backed by Fossil and us

Re: [Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Norbert Hartl
To clarify. If the object you inject has a value which either does not contain the key twitter or it does container the key twitter but its value is nil then the section won't be shown. '{{#twitter}} Twitter https://twitter.com/{{t

Re: [Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Offray Vladimir Luna Cárdenas
Yes I can share the data. Please load Brea project from [1] and do: = | testUser | testUser := BreaMember new createTestUser. testUser html = [1] http://smalltalkhub.com/#!/~Offray/Brea You will see that the twitter portion of the row is showed, but without any actual data in

[Pharo-users] Roassal @ Pharo TechTalk

2017-05-29 Thread Alexandre Bergel
Hello, Tomorrow Roassal will be the topic of the month Pharo TechTalk. When: TechTalk Voice channel @ Discord, Youtube channel When: 4:00 PM (GMT+2, Paris Time), 11:00 (GMT-3, Argentina time) 10:00 AM (GMT-4, Chile time), 7:00 AM (PDT, San Francisco)

Re: [Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Norbert Hartl
Offray, I think I didn't get what you want at first. When using a section in mustache {{#twitter}} then the object value of the key twitter becomes the current context. Every property is resolved relative to this current context. If you want to use the current context itself as value you can us

Re: [Pharo-users] Mustache: Making a conditional section show its values.

2017-05-29 Thread Offray Vladimir Luna Cárdenas
Norbert, Dot notation solves the issue and [1] works as expected. =[1] '{{#twitter}} Twitter https://twitter.com/{{.}}";> {{.}} {{/twitter}}' asMustacheTemplate value: { #twitter -> '@offrayLC' } asDictionary === Thanks for the work on Mu

Re: [Pharo-users] New booklet :) on Bloc this time

2017-05-29 Thread garduino
Excellent! Thanks you very much for another book!! -- View this message in context: http://forum.world.st/New-booklet-on-Bloc-this-time-tp4948511p4948601.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.