[Pharo-users] Re: SmaCC: Adding conditions to production rules

2022-05-23 Thread Thierry Goubier
Dear Konrad, the answer to your question is : it isn't pssoble as is in SmaCC (it breaks the underlying tcomputation heory). In practice, there are various ways to do so, depending on the kind of grammar you are building (and whether or not your grammar has conflicts). Cleanest way is to do a che

Re: [Pharo-users] shape file reading

2020-06-05 Thread Thierry Goubier
Hi Hans, Roassal has support for loading OSM raw data and OSM tiles (map backgrounds) (WGS84 projection). See https://www.youtube.com/watch?v=6zoGIsQaGUo&t=429s. We've also experimented with animations as well: https://www.youtube.com/watch?v=sMB7DG-lbiU; we've also tried in the past to work out o

Re: [Pharo-users] Find/Replace class scoped

2020-05-27 Thread Thierry Goubier
2, 2020 at 3:50 AM Stéphane Ducasse > wrote: >> >> we are working with sebastian jordan on a better rewriter. >> >> S. >> >> On 21 May 2020, at 17:17, Vitor Medina Cruz wrote: >> >> Interesting, I will have a look at it. >> >>

Re: [Pharo-users] Find/Replace class scoped

2020-05-21 Thread Thierry Goubier
Hi Vitor, as a matter of fact, the infrastructure for doing what you're looking for is already there. The algorithm is the following: - create a scope (something based on RBBrowserEnvironment, such as RBClassEnvironment or based on regexes and AND / OR operations: RBAndEnvironment, RBNotEnvironm

Re: [Pharo-users] Pharo: Git and GUI speed; JS widget reuse in PharoJS

2019-10-07 Thread Thierry Goubier
Hi Esteban, Le lun. 7 oct. 2019 à 12:26, Esteban Maringolo a écrit : > > On Mon, Oct 7, 2019 at 12:07 PM Esteban Lorenzano wrote: > > > On 7 Oct 2019, at 11:55, Esteban Maringolo wrote: > > > >> So I’m wondering when the Pharo GUI will snap as well as VW. > > > > > > Maybe with native widgets t

Re: [Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Thierry Goubier
It's a common shell script lab assignment to be able to parse this format (RFC 822). Unix 101 level. A bit tricky in practice, because the format has a strong dependency on the blank line between the header part and the email content... Technically, maildir only refers to the directory/files organ

Re: [Pharo-users] OSProcess / OSSubprocess / LibC uniqueInstance

2019-02-19 Thread Thierry Goubier
Hi Serge, Albrecht, loading OSProcess directly with the following expression works: Metacello new configuration: 'OSProcess'; repository: 'http://www.squeaksource.com/MetacelloRepository'; load There is still some work to be done on OSProcess adaptation to Pharo 7, but they are in ra

Re: [Pharo-users] Non-greedy RegEx?

2019-02-04 Thread Thierry Goubier
The Regex engine inside SmaCC allows for non-greedy REs. But it's integrated as a parser first stage, not as an independent RE engine. Regards, Thierry Le mar. 5 févr. 2019 à 08:34, Esteban Lorenzano a écrit : > > Hi, > > Yes, Pharo regex implementation is very naive. > We will be moving to a P

Re: [Pharo-users] Library to use multi-core in Pharo?

2019-01-09 Thread Thierry Goubier
Oh well, sorry. I checked and ... it seemed taskit could do it, but now it seems to be a future extension. However OSProcess can do it: look at #forkSqueak. Thierry Le mer. 9 janv. 2019 à 21:36, Thierry Goubier a écrit : > > Hi Alexandre, > > look at taskit: (https://github.com

Re: [Pharo-users] Library to use multi-core in Pharo?

2019-01-09 Thread Thierry Goubier
Hi Alexandre, look at taskit: (https://github.com/sbragagnolo/taskit). I think it can do what you are looking for. I think that OSProcess is also able to do that via fork calls. Having minimal, light weight images without complex loading preferences and whatever would help, otherwise simply forki

Re: [Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-30 Thread Thierry Goubier
Le ven. 30 nov. 2018 à 10:31, Marcus Denker a écrit : > > > > > On 29 Nov 2018, at 12:55, Thierry Goubier wrote: > > > > Le jeu. 29 nov. 2018 à 11:15, Marcus Denker a > > écrit : > >> > >> > >> > >>> On 29

Re: [Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-29 Thread Thierry Goubier
Le jeu. 29 nov. 2018 à 11:15, Marcus Denker a écrit : > > > > > On 29 Nov 2018, at 10:45, Thierry Goubier wrote: > > > > Hi Manuel, > > > > would that extend to testing what happens if you add many, many > > metalinks in a method? > > > &g

Re: [Pharo-users] Reify RBLiteralNode and RBBlockNode args/return with MetaLink?

2018-11-29 Thread Thierry Goubier
Hi Manuel, would that extend to testing what happens if you add many, many metalinks in a method? I tried to rewrite the automated code tracer I had to use metalinks, and I gave up once I discovered that going over a certain number of metalinks in a method would stop working. Thierry Le jeu. 29

Re: [Pharo-users] Installing SmaCC

2018-10-17 Thread Thierry Goubier
Oct 16, 2018 at 9:45 PM Thierry Goubier wrote: Hi Dimitris, Le 16/10/2018 à 19:39, Dimitris Chloupis a écrit : yes i already said that i followed the instructions in the github repo Yes, by default that installation of SmaCC does not load all parsers (some of them are fairly large). However,

Re: [Pharo-users] Installing SmaCC

2018-10-17 Thread Thierry Goubier
Le mer. 17 oct. 2018 à 12:39, Dimitris Chloupis a écrit : > > About your last part on platforms, I will be providing a way to inline C code > so one can you use C macros to detect the platform and generate code > accordingly. Or this could happen via a pragma too, it should not be an > issue. T

Re: [Pharo-users] Installing SmaCC

2018-10-17 Thread Thierry Goubier
ay to >> >> inline c code in case the parser fail. In any case my goals are small , >> >> cause I dont have resources for complex implementations. Its also a >> >> language that will be designed solely for my needs and be offered open >> >> source for anyon

Re: [Pharo-users] Installing SmaCC

2018-10-16 Thread Thierry Goubier
Hi Dimitris, Le 16/10/2018 à 19:39, Dimitris Chloupis a écrit : yes i already said that i followed the instructions in the github repo Yes, by default that installation of SmaCC does not load all parsers (some of them are fairly large). However, most of them are in the downloaded repository,

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-15 Thread Thierry Goubier
2018-06-15 8:19 GMT+02:00 Esteban Lorenzano : > > > On 15 Jun 2018, at 08:11, Norbert Hartl wrote: > > > > Am 14.06.2018 um 13:12 schrieb Thierry Goubier >: > > Hi Norbert, Tim, > > 2018-06-14 11:33 GMT+02:00 Norbert Hartl : > >> >> >>

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-15 Thread Thierry Goubier
2018-06-15 8:11 GMT+02:00 Norbert Hartl : > > > Am 14.06.2018 um 13:12 schrieb Thierry Goubier >: > > Hi Norbert, Tim, > > 2018-06-14 11:33 GMT+02:00 Norbert Hartl : > >> >> >> Am 14.06.2018 um 10:30 schrieb Tim Mackinnon : >> >> Hi

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-14 Thread Thierry Goubier
ted - as the full atomic commit is the > obvious end goal. > Consider using git squash, then. And calling git squash could be automated. One run the risk of turning Iceberg in a complete language-agnostic git client, which could make it too big to be sustainable in the long term. Thierry &g

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-14 Thread Thierry Goubier
Hi Norbert, Tim, 2018-06-14 11:33 GMT+02:00 Norbert Hartl : > > > Am 14.06.2018 um 10:30 schrieb Tim Mackinnon : > > Hi - yes I’m pleased you check out the entire tree, although currently > it’s a bit confusing that you do (fortunately this does give the > possibility that we can checkout images

Re: [Pharo-users] Loading Local Repositories with Iceberg

2018-06-05 Thread Thierry Goubier
2018-06-05 16:24 GMT+02:00 Norbert Hartl : > > >> Am 05.06.2018 um 16:13 schrieb Stephan Eggermont : >> >> Norbert Hartl wrote: >> >>> Ok, but where is the problem? >> >> - needs to work on different filesystems, with tricky behavior >> - git itself did not get the behavior right >> - git used to

Re: [Pharo-users] metacello and github under a custom domain

2018-06-04 Thread Thierry Goubier
2018-06-04 10:42 GMT+02:00 Cyril Ferlicot D. : > On 03/06/2018 16:42, Tudor Girba wrote: >> Hi, >> > > Hi, > >> I am working with a GitHub enterprise installation that resides under a >> custom domain (e.g., github.example.com). >> >> I can clone the repository using Iceberg and ssh: >> g...@gith

Re: [Pharo-users] im using pharo in wayland system.

2018-05-24 Thread Thierry Goubier
Le 24/05/2018 à 18:16, peter yoo a écrit : thank you. Thierry :D Ok, I checked again, now that I'm back with a 18.04 system. I have SourceCodePro and SourceSansPro as fonts. Thierry

Re: [Pharo-users] im using pharo in wayland system.

2018-05-24 Thread Thierry Goubier
Le jeu. 24 mai 2018 16:23, peter yoo a écrit : > to Guillermo > where can download pharo 7? cannot find from google. > > to Thierry > hm... same now... install font and fc-cache later is same. > and im using nouveau driver. using wayland now :D > Oh, ok, maybe it's a nouveau driver constrain

Re: [Pharo-users] im using pharo in wayland system.

2018-05-24 Thread Thierry Goubier
Hi Peter, I've seen the same error on a fresh 18.04 system I have installed last week, and the solution was to add the Open Sans fonts to the user folder (~/.fonts) and rebuild X font cache. By the way, Ubuntu 17.10 was Wayland, Ubuntu 18.04 is not Wayland, as far as I know. And I had Pharo worki

Re: [Pharo-users] [Ann] OSSubprocess 1.0.0

2018-05-23 Thread Thierry Goubier
Hi Mariano, 2018-05-23 19:57 GMT+02:00 Mariano Martinez Peck : > > > On Wed, May 23, 2018 at 2:46 PM Sean P. DeNigris > wrote: >> >> David T. Lewis wrote >> > FFI based solutions work at a different level of abstraction than >> > VM plugins, and there is a role for both. >> >> Thanks for the cont

Re: [Pharo-users] Why doesn't Pharo 7 Iceberg write changes to the git filesystem as you go?

2018-05-23 Thread Thierry Goubier
2018-05-23 15:28 GMT+02:00 Peter Uhnák : > > > On Wed, May 23, 2018 at 6:42 AM, Ben Coman wrote: >> >> >> >> On 22 May 2018 at 23:23, Tim Mackinnon wrote: >>> >>> Hi - when trying out the new Iceberg with a bunch of developers and >>> explaining the challenges of integrating git and files into a

Re: [Pharo-users] #ast vs. #parseTree

2018-05-04 Thread Thierry Goubier
Le 04/05/2018 à 21:13, Denis Kudriashov a écrit : 2018-05-04 21:10 GMT+03:00 Richard Sargent >: On Fri, May 4, 2018 at 1:04 PM, Denis Kudriashov mailto:dionisi...@gmail.com>> wrote: 2018-05-04 19:45 GMT+03:00 Sean P. DeNigris

Re: [Pharo-users] C struct in 32 bits vs 64 bits VM

2018-04-19 Thread Thierry Goubier
signed long is now specified as: Capable of containing at least the [−2,147,483,647, +2,147,483,647] range; so at least 32 bits; and signed long long Capable of containing at least the [−9,223,372,036,854,775,807, +9,223,372,036,854,775,807] range [C99] so at least 64 bits; and long long siz

Re: [Pharo-users] C struct in 32 bits vs 64 bits VM

2018-04-19 Thread Thierry Goubier
2018-04-19 10:24 GMT+02:00 Serge Stinckwich : > > > On Thu, Apr 19, 2018 at 9:13 AM, Serge Stinckwich < > serge.stinckw...@gmail.com> wrote: > >> I try to understand differences between 32 bits and 64 bits FFI support >> for C structures. >> >> I build a class called MyStruct subclass of FFIExtern

Re: [Pharo-users] Where do we go now ?

2018-04-14 Thread Thierry Goubier
Le sam. 14 avr. 2018 10:46, Hilaire a écrit : > Le 13/04/2018 à 19:49, Stephane Ducasse a écrit : > > We know where we go (we have a roadmap) and this is always the same > > and we are getting there. Tell me one smalltalk that is bootstrapped. > I don't see we are there yet. At least from my humb

Re: [Pharo-users] Failure with GitFileTree commiting changes in Traits

2018-04-05 Thread Thierry Goubier
Done. Thierry Le 05/04/2018 à 20:47, Thierry Goubier a écrit : Beware, I have not yet ported the fixes on the pharo7.0_dev branch. Will do it now. If I manage to get the zero-conf script to work... Thierry Le 05/04/2018 à 17:12, Sean P. DeNigris a écrit : Rafael Luque wrote This is what

Re: [Pharo-users] Failure with GitFileTree commiting changes in Traits

2018-04-05 Thread Thierry Goubier
Beware, I have not yet ported the fixes on the pharo7.0_dev branch. Will do it now. If I manage to get the zero-conf script to work... Thierry Le 05/04/2018 à 17:12, Sean P. DeNigris a écrit : Rafael Luque wrote This is what I call an express super support service. :) - Cheers, Sean

Re: [Pharo-users] Failure with GitFileTree commiting changes in Traits

2018-04-05 Thread Thierry Goubier
2018-04-05 15:53 GMT+02:00 Rafael Luque : > Thierry, it work like a charm. > > This is what I call an express super support service. > Thank you!! Thank you as well for testing it :) Thierry > 2018-04-05 12:28 GMT+00:00 Thierry Goubier : >> >> Hi Raphaël, >>

Re: [Pharo-users] Failure with GitFileTree commiting changes in Traits

2018-04-05 Thread Thierry Goubier
st tell me if it works for you. Thierry 2018-04-05 14:03 GMT+02:00 Thierry Goubier : > Hi Raphaël, > > I'll have a look and change the branch to be the pharo6.0 (and non > _dev for now). > > Regards, > > Thierry > > 2018-04-05 11:58 GMT+02:00 Rafael Luque : &g

Re: [Pharo-users] Failure with GitFileTree commiting changes in Traits

2018-04-05 Thread Thierry Goubier
Hi Raphaël, I'll have a look and change the branch to be the pharo6.0 (and non _dev for now). Regards, Thierry 2018-04-05 11:58 GMT+02:00 Rafael Luque : > Hello all, > > I'm getting the below error each time a try to commit changes in Traits in a > project that uses GitFileTree and Pharo 6.0. >

Re: [Pharo-users] Slower

2018-04-04 Thread Thierry Goubier
Le 04/04/2018 à 19:31, Hilaire a écrit : It is already animated :) https://twitter.com/GNUDrGeo/status/981583820037160961 But canvas get slow when I push to 500 montecarlo iterations, for example. Can you profile a refresh / a redraw? We've seen many times Morphic being qualified as slow, an

Re: [Pharo-users] Howto BaselineOf

2018-04-03 Thread Thierry Goubier
SProcess, and for the GitFileTree-MergeDriver. But it's kind of specific to the way you package DrGeo, so no single command would fit. Thierry > > > > Le 03/04/2018 à 15:52, Thierry Goubier a écrit : >> >> Couldn't you call a bazaar routine to get that inform

Re: [Pharo-users] Howto BaselineOf

2018-04-03 Thread Thierry Goubier
ised that before. Unless you write a release command that adds the code and do the necessary stuff to package the release. Thierry > > Le 03/04/2018 à 14:14, Thierry Goubier a écrit : >> >> Normally, you should do it via the repository url. If you use tags in >> your repos

Re: [Pharo-users] Howto BaselineOf

2018-04-03 Thread Thierry Goubier
Hi Hilaire, 2018-04-03 12:40 GMT+02:00 Hilaire : > Ok, adding the package names was needed in the baseline and resolved the > remaining errors: > > spec package: 'DrGeoII-core'; package: 'DrGeoII-Polymorph'; etc. > > Now I would like to insert in the BaselineOf a version number more > meaningfull

Re: [Pharo-users] Howto BaselineOf

2018-04-03 Thread Thierry Goubier
Hi Hilaire, try Metacello new baseline: 'DrGeo'; repository: 'tonel://', SmalltalkImage current imageDirectory pathString, '/src'; load Thierry 2018-04-03 10:34 GMT+02:00 Hilaire : > Hi, > > I have this enclosed BaselineOfDrGeo which I think contains mostly all I > need. > > How sh

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Thierry Goubier
Hi Hilaire, a BaselineOf is the same as a baseline method in a ConfigurationOf: a list of packages with their prerequisites and groups. What the BaselineOf does not contain are methods describing versions with package versions and author names; instead, what a BaselineOf says is: fetch the l

Re: [Pharo-users] What are RBPattern* classes in the AST?

2018-03-31 Thread Thierry Goubier
Hi Steven, Le 31/03/2018 à 20:36, Steven Costiou a écrit : Hi, i was browsing the classes of the AST and i am curious about the RBPattern* classes. What are they used for? They represent metavariables in pattern trees when you use refactorings. Each pattern node specify a type of AST sub

Re: [Pharo-users] New Files in Pharo - Migration Guide, How To's and examples

2018-03-20 Thread Thierry Goubier
2018-03-20 13:20 GMT+01:00 Henrik Sperre Johansen : > EstebanLM wrote >>> On 20 Mar 2018, at 12:56, Henrik Sperre Johansen < > >> henrik.s.johansen@ > >> > wrote: >>> >>> This is great! >>> And, +1 on the need for some more convenience constructors... >>> >>> Word of warning (which would be nice to

Re: [Pharo-users] How to have an in-image map (morph/spec/brick) showing a gps location

2018-02-09 Thread Thierry Goubier
2018-02-09 7:50 GMT+01:00 Sven Van Caekenberghe : > > >> On 9 Feb 2018, at 06:40, Thierry Goubier wrote: >> >> Le 09/02/2018 à 00:46, Arturo Zambrano a écrit : >>> I used Roassal + OSM and worked perfectly (2 year ago at least). Although I >>> think ther

Re: [Pharo-users] How to have an in-image map (morph/spec/brick) showing a gps location

2018-02-08 Thread Thierry Goubier
Le 09/02/2018 à 00:46, Arturo Zambrano a écrit : I used Roassal + OSM and worked perfectly (2 year ago at least). Although I think there is no support for something like a tiles cache. We did the OSM support with an in-image tiles cache, but limited to the current map section being viewed. I

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-11 Thread Thierry Goubier
Hi Stef, it's the one done with Damien, 3 or 4 years ago. Thierry 2018-01-11 8:23 GMT+01:00 Stephane Ducasse : > Hi Thierry > > One of these days I think that I will have to have a look at it :) > > Stef > > On Wed, Jan 10, 2018 at 2:35 PM, Thierry Goubier < >

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-10 Thread Thierry Goubier
2018-01-10 14:41 GMT+01:00 Serge Stinckwich : > > > On Wed, Jan 10, 2018 at 2:35 PM, Thierry Goubier < > thierry.goub...@gmail.com> wrote: > >> >> >> 2018-01-10 14:26 GMT+01:00 Serge Stinckwich : >> >>> >>> >>> On Wed, Jan 10

Re: [Pharo-users] [ANN] Python3Generator and MatplotLibBridge

2018-01-10 Thread Thierry Goubier
2018-01-10 14:26 GMT+01:00 Serge Stinckwich : > > > On Wed, Jan 10, 2018 at 2:23 PM, Julien > wrote: > >> Hello Serge, >> >> Do you mean pieces of code you wrote in Python using Numpy that you want >> to transform to Smalltalk code using PolyMath? >> >> It’s kind of the other way around of this p

Re: [Pharo-users] Metacello with Git

2017-12-20 Thread Thierry Goubier
Hi Pierce, Le 20/12/2017 à 17:17, Pierce Ng a écrit : On Tue, Dec 19, 2017 at 07:07:16PM -0800, Dale Henrichs wrote: I am under the impression that iceberg is able to authenticate with SSH keys I am not a pharo/iceberg user myself, but it seems that iceberg should be able to fill that gap.

Re: [Pharo-users] Catching EOF in SmaCC

2017-11-17 Thread Thierry Goubier
Hi Andrew, Le 17/11/2017 à 12:26, Prof. Andrew P. Black a écrit : On 17 Nov 2017, at 14:10 , Thierry Goubier wrote: there is an 'E O F' token generated by SmaCC; I haven't tried to use it in a parser yet. I tried patching the tokenActions table to trap on this, but the to

Re: [Pharo-users] Catching EOF in SmaCC

2017-11-17 Thread Thierry Goubier
Hi Andrew, there is an 'E O F' token generated by SmaCC; I haven't tried to use it in a parser yet. The second is used in the Python2 parser. See: https://github.com/ThierryGoubier/SmaCC/blob/master/SmaCC-Python.package/PythonScanner2.class/instance/scannerError.st Regards, Thierry Le 17/1

Re: [Pharo-users] RB refactoring rewrite variable to a symbol

2017-11-11 Thread Thierry Goubier
Hi Peter, Hi Peter, you should try {:node :dic | ... } to handle that. Something like: RBParseTreeRewriter new replace: '`@var `{:node :dic | dic at: #varName put: node name} := `@arg' with: 'self write: `@arg into: `{:dic | RBParser parseExpression: ''#'', (dic

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-11 Thread Thierry Goubier
, Thierry Goubier wrote: Le 09/11/2017 à 21:02, Stephane Ducasse a écrit : Yes thierry :) your turn now :) That's will be harder than I expected. I have issues in the LaTeX setup used by the booklet. Thierry Stef On Thu, Nov 9, 2017 at 8:41 PM, Thierry Goubier wrote: Le 09/11/2

Re: [Pharo-users] SmaCC UI Problem solved but only when breakpoint was added

2017-11-10 Thread Thierry Goubier
Hi Frederico, I think what is happening is one needs to accept (press return) in the scanner and parser test fields, for the names to be taken into account. Otherwise, they keep that non-accepted status (the orange triangle appearing in top-right of the text fields). Can you check if it was the ca

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Le 09/11/2017 à 21:02, Stephane Ducasse a écrit : Yes thierry :) your turn now :) That's will be harder than I expected. I have issues in the LaTeX setup used by the booklet. Thierry Stef On Thu, Nov 9, 2017 at 8:41 PM, Thierry Goubier wrote: Le 09/11/2017 à 20:15, Federico.Balag

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Le 09/11/2017 à 20:15, Federico.Balaguer a écrit : I am following this tutorial http://files.pharo.org/books-pdfs/booklet-Smacc/2017-05-05-Smacc-Spiral.pdf I typed the first example and when I try to compile either LR(1) or LALR(1) there is a pop-up saying that both clases where not specified.

Re: [Pharo-users] Unable to load SmaCC on pharo6 (or pharo5)

2017-11-09 Thread Thierry Goubier
Hi Frederico, could you try in a Pharo6.1 image Metacello new baseline: 'SmaCC'; repository: 'github://ThierryGoubier/SmaCC'; load SmaCC has a fairly complex set of dependencies, so loading it via the baseline should be the preferred way. Don't hesitate to ask if you

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-08 Thread Thierry Goubier
t functions, e.g., bdds, instead of > relying on charcter tests only. > > > Cheers, > Steffen > > > > > > Am .11.2017, 23:16 Uhr, schrieb Thierry Goubier >: > > Le 07/11/2017 à 23:00, Steffen Märcker a écrit : >> >>> I am not familiar with

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-07 Thread Thierry Goubier
ttps://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *Thierry Goubier <mailto:thierry.goub...@gmail.com> *Sent: *Tuesday, November 7, 2017 7:17 AM *To: *Any question about pharo is welcome <mailto:pharo-users@lists.pharo.org> *Subject: *Re:

Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk

2017-11-07 Thread Thierry Goubier
ith this. > > > > Thanks for the offer, Steffen! The problem is that I need to use SmaCC > for my current project, and really do not have a month to take off and > re-design the way that it builds its scanner. I’ve talked to Thierry > Goubier about, and he doesn’t have time eith

Re: [Pharo-users] perspective request for those earning alivingfromSmalltalk

2017-11-06 Thread Thierry Goubier
Hi Andrew, Le 06/11/2017 à 19:59, Andrew Glynn a écrit : I /suspect/ that a (mostly repressed) underlying sense that a reliable, inexpensive platform, if popular, would have been more detrimental to IBM than to its smaller competitors. The same goes for the VisualAge family -> Smalltalk (sold

Re: [Pharo-users] Exchanging information between 2 pharo applications (2 images running on two different computers)

2017-10-27 Thread Thierry Goubier
2017-10-27 11:28 GMT+02:00 Cédrick Béler : > > Hi Cedric, > > a short answer: some of what you're trying to do has been traditionnally > handled by object databases - multiple images retrieving and updating > objects on a central store ensuring lots of good properties : see Gemstone. > > > Yes , I

Re: [Pharo-users] Exchanging information between 2 pharo applications (2 images running on two different computers)

2017-10-27 Thread Thierry Goubier
Hi Cedric, a short answer: some of what you're trying to do has been traditionnally handled by object databases - multiple images retrieving and updating objects on a central store ensuring lots of good properties : see Gemstone. Another answer, since you're looking at content-addressable distrib

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
equivelant of pharo would be > > MyModule MyInstance myMessage: > > or if you include packages as well > > MyPackage MyModule MyInstance myMessage: > > which follows pharo syntax and OO design. That's my general idea at least. > > Please enlighten me :) > >

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
ed for the fact its incidental complexity makes it very very hard to reach or maintain performance levels (compared to Fortran, say). Thierry > > On Fri, Oct 13, 2017 at 10:55 AM Thierry Goubier < > thierry.goub...@gmail.com> wrote: > >> Hi Kilon, >> >> disclaimer:

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Thierry Goubier
Hi Kilon, disclaimer: I've used Parcplace Smalltlk without namespaces, then VisualWorks with namespaces. 2017-10-13 9:08 GMT+02:00 Dimitris Chloupis : > Personally I dont get it, we find the path to bootstrap the pharo image > clear and we cannot see the path to namespaces ? > Because namespace

Re: [Pharo-users] "Building-With versus Building-on"

2017-10-13 Thread Thierry Goubier
Hi Andrew, Stephane, thanks for the read. It was interesting, albeit a bit confusing at times. I do like your evaluation of the thesis. 2017-10-12 23:10 GMT+02:00 Stephane Ducasse : > Thanks Andrew I read it fast and I will reread it. It is really > interesting to me because I never took the tim

Re: [Pharo-users] [ANN] Libusb binding + HID support for Pharo

2017-10-12 Thread Thierry Goubier
> name and the correct 32/64 bit size and marshalling) > - or a bug in the bindings using the wrong types (e.g., using long > instead of void*) > And the first FFI call fails (the lib init). Thierry > > >> >> Julien >> >> Le 12 oct. 2017 à 14:41,

Re: [Pharo-users] [ANN] Libusb binding + HID support for Pharo

2017-10-12 Thread Thierry Goubier
Very cool. Would that be doable to adapt for a 64bits version? Thierry 2017-10-12 13:29 GMT+02:00 Julien : > Hello, > > A bit late, there is a Libusb [1] binding (using UFFI) and support for the > Human Interface Device [2] (that uses the binding but is written in pure > Smalltalk) for Pharo. >

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-11 Thread Thierry Goubier
What about a seaside-based system browser oriented towards code documentation? That would fit both paradigms: html-like reference + live browsing. You could even make it buzzword compliant: have a REST interface to documentation and code. Note how the panes in a system browser could make for a ni

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Thierry Goubier
Le 01/10/2017 à 09:26, Hilaire a écrit : All these difficulties are good argument to get the appropriate libcairo/libpng shipped with the Linux VM, as done with Windows and MacOSX VM This cause surprising problems in Pharo integration with the platform: for example, if you use a system librar

Re: [Pharo-users] How to include DeployUtils in a Configuration?

2017-09-27 Thread Thierry Goubier
Hi Hernán, I think what is happening is you're not including completely the DeployUtils baseline. You need to write something like: spec baseline: 'DeployUtils' with: [ spec repository: 'github://fstephany/DeployUtils/repository']; import: 'DeployUtils'. And have one of the packages (or

Re: [Pharo-users] Pharo 7 license question

2017-09-22 Thread Thierry Goubier
2017-09-22 10:27 GMT+02:00 Hilaire : > The appropriate and neutral term to describe GPL licence is "recursive". > > GPL licence was designed to build a better computing community, where > freedom is 1st consideration, even at the expense of a lower acceptance. > And the little technical fact that

Re: [Pharo-users] #parseMethod:onError: isn't as obvious as expected - is it me?

2017-09-07 Thread Thierry Goubier
the KM API). Now, most Pharo developpers just jump into hardcoding keyboard handling instead. Thierry > > I'm also not sure if I like the pragma usage either - I find it quite > difficult to follow what's calling what. > > Tim > > Sent from my iPhone > >

Re: [Pharo-users] #parseMethod:onError: isn't as obvious as expected - is it me?

2017-09-01 Thread Thierry Goubier
Hi Tim, The RB ast has a specific method for finding the right node: in AltBrowser, I use ast bestNodeFor: aTarget selectionInterval. For the second case (parse what is selected), you may want to look into SmaCC: it has specific entry points (used for refactoring) to try all possible starts in a

Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
vely, one needs to have a usable minimal image with the GUI and very simple core tools. Regards, Thierry > > -- Pavel > > > 2017-08-28 13:47 GMT+02:00 Thierry Goubier : > >> Hi Pavel, >> >> what would be the expression for building such an intermediate image out >>

Re: [Pharo-users] How to create a minimal image ?

2017-08-28 Thread Thierry Goubier
Hi Pavel, what would be the expression for building such an intermediate image out of the minimal image? This? Metacello new baseline: 'BasicTools'; repository: 'github://pharo-project/pharo:master/src'; load Regards, Thierry 2017-08-28 13:24 GMT+02:00 Pavel Krivanek : > What do you exp

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
Hi Stephan, 2017-08-28 10:50 GMT+02:00 stephan : > On 26-08-17 18:38, Thierry Goubier wrote: > > For me, it has the same effect: the editor isn't in a single place >> anymore. You may consider it doesn't matter; IMHO it does matter (and it >> makes for me th

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-28 Thread Thierry Goubier
2017-08-28 9:15 GMT+02:00 Tudor Girba : > Hi, > > > On Aug 27, 2017, at 7:13 PM, Thierry Goubier > wrote: > > > > Hi Doru, > > > > thanks for the explanation... > > > > I'll end up with three questions: > > > > - What makes

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-27 Thread Thierry Goubier
ation is 2k lines of > code. In comparison, just the core of Rubric is 5.5k. But, the rendering is > not related to text whatsoever. Word and adornments are just element that > conform to a layout. So, this means that people can build something else at > a much smaller costs should they want

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-27 Thread Thierry Goubier
Hi Doru, 2017-08-27 9:24 GMT+02:00 Tudor Girba : > Hi, > > > On Aug 27, 2017, at 12:06 AM, Thierry Goubier > wrote: > > > > Hi Tim, > > > > 2017-08-26 23:27 GMT+02:00 Tim Mackinnon : > > I think you pose some interesting design challenges - but it&#

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
sort of experiment. The moldable bit may make it easier, or at least not more complex than it was when Smalltalk systems were a lot smaller. Now, is that moldable implementation really that free, or has it sacrificed certain freedoms to make moldable things easier? Regards, Thierry > > Ti

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
you expand anything. I'd say there that the GTInspector approach would work better -> expand on the right, with the ability to keep two side by side, and overlaid with lines clearly showing what has been expanded (for that "context" thing). Regards, Thierry > > 201

Re: [Pharo-users] [ann] moldable editor - with expandable elements

2017-08-26 Thread Thierry Goubier
2017-08-26 14:46 GMT+02:00 Denis Kudriashov : > > 2017-08-26 14:31 GMT+02:00 Tim Mackinnon : > >> Denis - that's a very cool idea if I've understood you - expand in the >> source code of the current method, literally inline? So you could scroll up >> and down to view the context as you expand it o

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-20 Thread Thierry Goubier
in the way of solving my problems. I am sure this will change over time with more gradual learning and experience. On 18 August 2017 at 16:28, Thierry Goubier <mailto:thierry.goub...@gmail.com>> wrote: Hi Luke, if you use gitfiletree with AltBrowser and configurations/baselines,

Re: [Pharo-users] Loading and saving packages to filetree repos

2017-08-18 Thread Thierry Goubier
Hi Luke, if you use gitfiletree with AltBrowser and configurations/baselines, then you'll see that you have a command to do the writing for you, without metadata and with a single git commit. Regards, Thierry Le 17/08/2017 à 13:25, Luke Gorrie a écrit : Hoi, I want to have a quick "cheat

Re: [Pharo-users] Cloning code from GitHub using Iceberg

2017-07-24 Thread Thierry Goubier
Le 24/07/2017 à 21:55, Hernán Morales Durand a écrit : 2017-07-24 4:29 GMT-03:00 Alistair Grant : Hi Hernan, On Sun, Jul 23, 2017 at 06:22:52PM -0300, Hern??n Morales Durand wrote: Hi guys, I am trying to import code - in Pharo 6 - from a GitHub repository: https://github.com/jigyasa-grover/C

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Thierry Goubier
Le 23/07/2017 à 18:58, Attila Magyar a écrit : Maybe if the protocol list was a tree instead of a list then it would make sense to include the class methods there. This would also make easier to move methods from class side to instance side or vica versa with simple drag and drop (without relying

Re: [Pharo-users] Why do we separate class/instance methods in the browser?

2017-07-23 Thread Thierry Goubier
Hi Tim, if you're looking for experiments, you may want to look for the already existing (or past) experiments on alternative systems browsers. There are a few floating around, and some of them already have an answer for what you are considering (change the way class side and instance side m

Re: [Pharo-users] get output of a forked process on windows

2017-07-18 Thread Thierry Goubier
Hi Christophe, You have to use ProcessWrapper. Metacello new configuration: 'ProcessWrapper'; repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; load (as extracted from the baseline of GitFileTree for Pharo4) Regards, Thierry 2017-07-18 15:34 GMT+02:00 Christophe D

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-11 Thread Thierry Goubier
Hi Sabine, I have a slightly different script, a Makefile, which uses another trick: put everything into a pharo/ subdirectory. Like that, just rm -rf pharo/ erases everything before rebuilding. I think I would implement the support you need for you to simply be able to write: Metacello ne

Re: [Pharo-users] How to specify metacello package dependencies in a git world?

2017-07-09 Thread Thierry Goubier
Hi Tim, Le 09/07/2017 à 10:31, Tim Mackinnon a écrit : Hi - I am trying to specify a simple package dependency(NeoJSON) for a hello world type simple project and I’m hitting problems. I’ve been reading the DeepIntoPharo chapter and have looked at the blog post by Uko (http://blog.yuriy.tymch

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-07 Thread Thierry Goubier
Hi Sabine, as far as I remember when I implemented it, the use of a config file shouldn't be an issue, because GitFileTree rewrites exactly the git@SPF_GITLAB the way you would expect, as long as it manages to identify correctly the parts in the URL (and to identify those parts, it relies on

Re: [Pharo-users] 2 questions around gitlab, gitfiletree, BaselineOf

2017-07-07 Thread Thierry Goubier
Hi Sabine, I have makefiles to do the sort of thing you describe automatically (build an image from local, git managed repositories) and a baseline: I write stuff like ./pharo-cli pharo/Pharo.image --no-default-preferences eval --save Metacello new baseline: \'MyProject\'\; repository:\'gitfiletr

Re: [Pharo-users] ANTLR4 to SmaCC

2017-05-31 Thread Thierry Goubier
Hi Henrique, Le 31/05/2017 à 17:03, Henrique Rocha a écrit : Hello, I was trying to convert a ANTLR4 grammar specification to SmaCC. After many unsuccessful tries that made me question my sanity I wondered: maybe someone has a solution. Grammar conversion is something that can be automated. S

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] Moving Class to a Package programmaticaly

2017-05-27 Thread Thierry Goubier
2017-05-27 14:45 GMT+02:00 Denis Kudriashov : > > 2017-05-27 14:15 GMT+02:00 Thierry Goubier : > >> Will: >> >> #MyPackage asPackage definedClasses do: [:each | each tagWith: #MyPackage] >> >> put the classes in the #MyPackage or in the #MyPackage-MyPack

Re: [Pharo-users] Moving Class to a Package programmaticaly

2017-05-27 Thread Thierry Goubier
2017-05-27 13:58 GMT+02:00 Denis Kudriashov : > > 2017-05-26 19:22 GMT+02:00 Thierry Goubier : > >> >> This should work: >> >> org := (RPackageOrganizer default packageNamed: 'MyPackage'). >> tag := org addClassTag: #Classes. >> org defined

  1   2   3   4   5   6   >