[SmaCC] Partial Installation
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ? --- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
Hi Kilon, 2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser. Use the following: spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ] Regards, Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
Hi Thierry, As you might have seen, John has created a repo with his version of SmaCC. Would you be interested in merging possible differences from your code with the repository from John? Cheers, Doru
On Nov 25, 2016, at 1:30 PM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>: Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
-- www.tudorgirba.com www.feenk.com "Speaking louder won't make the point worthier."
Hi Doru, 2016-11-25 14:14 GMT+01:00 Tudor Girba <tudor@tudorgirba.com>:
Hi Thierry,
As you might have seen, John has created a repo with his version of SmaCC. Would you be interested in merging possible differences from your code with the repository from John?
Yes; John told me about it in August, and I merged around September / October. Both SmaCC repositories have exactly the same runtime; if you are not writing a parser, there is no reason to choose one or the other. They differ in the development part, and some/most of the differences are a matter of style. But, yes, it is possible to merge. Both are open, and the github SmaCC repository could also count as a test-case for Iceberg :) Regards, Thierry
Cheers, Doru
On Nov 25, 2016, at 1:30 PM, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>: Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
-- www.tudorgirba.com www.feenk.com
"Speaking louder won't make the point worthier."
I am afraid it does not work , I updated as you described my baseline https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas... and it gives me Error: Name not found: SmaCC-Python On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
I am afraid it does not work , I updated as you described my baseline
https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/ BaselineOfEphestos.class/instance/baseline..st
and it gives me
Error: Name not found: SmaCC-Python
That's strange. As far as I can see, I use the exact same code in a baseline of mine without errors. I'll try some tests over the week-end. Thierry
On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
Are you on Pharo 6 latest image and latest VM ? Curl get.pharo.org/alpha+vmLatest Then open package browser and try to install Ephestos On Fri, 25 Nov 2016 at 17:15, Thierry Goubier <thierry.goubier@gmail.com> wrote:
2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
I am afraid it does not work , I updated as you described my baseline
https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas...
and it gives me
Error: Name not found: SmaCC-Python
That's strange. As far as I can see, I use the exact same code in a baseline of mine without errors.
I'll try some tests over the week-end.
Thierry
On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier <thierry.goubier@gmail.com> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
Le 25/11/2016 à 17:10, Dimitris Chloupis a écrit :
Are you on Pharo 6 latest image and latest VM ?
Curl get.pharo.org/alpha+vmLatest <http://get.pharo.org/alpha+vmLatest>
Then open package browser and try to install Ephestos
The configuration browser is still pointing at an older version of Ephestos (or I should not try to load the stable version?). Thierry
On Fri, 25 Nov 2016 at 17:15, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>:
I am afraid it does not work , I updated as you described my baseline
https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas...
and it gives me
Error: Name not found: SmaCC-Python
That's strange. As far as I can see, I use the exact same code in a baseline of mine without errors.
I'll try some tests over the week-end.
Thierry
On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
The version does not matter, the configuration get the github repo as is . So it always get the latest code. I tested also with metacello command, same problem. On Sat, 26 Nov 2016 at 00:12, Thierry Goubier <thierry.goubier@gmail.com> wrote:
Le 25/11/2016 à 17:10, Dimitris Chloupis a écrit :
Are you on Pharo 6 latest image and latest VM ?
Curl get.pharo.org/alpha+vmLatest <http://get.pharo.org/alpha+vmLatest>
Then open package browser and try to install Ephestos
The configuration browser is still pointing at an older version of Ephestos (or I should not try to load the stable version?).
Thierry
On Fri, 25 Nov 2016 at 17:15, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>:
I am afraid it does not work , I updated as you described my baseline
https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas...
and it gives me
Error: Name not found: SmaCC-Python
That's strange. As far as I can see, I use the exact same code in a baseline of mine without errors.
I'll try some tests over the week-end.
Thierry
On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
Hi Kilon,
2016-11-25 12:13 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>:
Hey there , I would like to install from SmaCC only Python and C++ parsers , any idea how to add that to my baseline as a dependency ?
Just load the SmaCC-Python package. There is no C++ parser.
Use the following:
spec baseline: 'SmaCC' with: [ spec repository: 'github://ThierryGoubier/SmaCC' ]; import: 'SmaCC'. spec package: <yourPackage> with: [ spec requires: #('SmaCC-Python') ]
Regards,
Thierry
--- ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast antivirus. https://www.avast.com/antivirus
Le 25/11/2016 à 23:16, Dimitris Chloupis a écrit :
The version does not matter, the configuration get the github repo as is . So it always get the latest code. I tested also with metacello command, same problem.
Ok, I think I found out why when debugging the script. Maybe Dale can confirm. You may import only one baseline (i.e. in the debug, I see only Nireas as imported baseline). Dale, how do we do to import from more than one Baseline in another baseline? Thierry
On Sat, 26 Nov 2016 at 00:12, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
Le 25/11/2016 à 17:10, Dimitris Chloupis a écrit : > Are you on Pharo 6 latest image and latest VM ? > > Curl get.pharo.org/alpha+vmLatest <http://get.pharo.org/alpha+vmLatest> <http://get.pharo.org/alpha+vmLatest> > > Then open package browser and try to install Ephestos
The configuration browser is still pointing at an older version of Ephestos (or I should not try to load the stable version?).
Thierry
> On Fri, 25 Nov 2016 at 17:15, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> > <mailto:thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>>> wrote: > > 2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com> > <mailto:kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>>: > > I am afraid it does not work , I updated as you described my > baseline > > https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas... > > and it gives me > > Error: Name not found: SmaCC-Python > > > That's strange. As far as I can see, I use the exact same code in a > baseline of mine without errors. > > I'll try some tests over the week-end. > > Thierry > > > > > On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier > <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> <mailto:thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>>> > wrote: > > Hi Kilon, > > 2016-11-25 12:13 GMT+01:00 Dimitris Chloupis > <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com> <mailto:kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>>: > > Hey there , I would like to install from SmaCC only > Python and C++ parsers , any idea how to add that to my > baseline as a dependency ? > > > Just load the SmaCC-Python package. There is no C++ parser. > > Use the following: > > spec > baseline: 'SmaCC' > with: [ spec repository: > 'github://ThierryGoubier/SmaCC' ]; > import: 'SmaCC'. > spec package: <yourPackage> with: [ spec requires: > #('SmaCC-Python') ] > > Regards, > > Thierry > > > > > --- > ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast > antivirus. > https://www.avast.com/antivirus > > >
Thank Thierry you pointed me to the right direction and after that because I knew what the problem was I found the solution, it needs the addition of the require message to create a group that is then loaded . I have corrected the baseline https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas... it now works like a charm :) Awesome On Sun, Nov 27, 2016 at 12:48 AM Thierry Goubier <thierry.goubier@gmail.com> wrote:
Le 25/11/2016 à 23:16, Dimitris Chloupis a écrit :
The version does not matter, the configuration get the github repo as is . So it always get the latest code. I tested also with metacello command, same problem.
Ok, I think I found out why when debugging the script. Maybe Dale can confirm.
You may import only one baseline (i.e. in the debug, I see only Nireas as imported baseline).
Dale, how do we do to import from more than one Baseline in another baseline?
Thierry
On Sat, 26 Nov 2016 at 00:12, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>> wrote:
Le 25/11/2016 à 17:10, Dimitris Chloupis a écrit : > Are you on Pharo 6 latest image and latest VM ? > > Curl get.pharo.org/alpha+vmLatest <http://get.pharo.org/alpha+vmLatest> <http://get.pharo.org/alpha+vmLatest> > > Then open package browser and try to install Ephestos
The configuration browser is still pointing at an older version of Ephestos (or I should not try to load the stable version?).
Thierry
> On Fri, 25 Nov 2016 at 17:15, Thierry Goubier <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> > <mailto:thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>>> wrote: > > 2016-11-25 14:34 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com> > <mailto:kilon.alios@gmail.com <mailto:kilon.alios@gmail.com
: > > I am afraid it does not work , I updated as you described my > baseline > >
https://github.com/kilon/Ephestos/blob/master/BaselineOfEphestos.package/Bas...
> > and it gives me > > Error: Name not found: SmaCC-Python > > > That's strange. As far as I can see, I use the exact same code in a > baseline of mine without errors. > > I'll try some tests over the week-end. > > Thierry > > > > > On Fri, Nov 25, 2016 at 2:31 PM Thierry Goubier > <thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com> <mailto:thierry.goubier@gmail.com <mailto:thierry.goubier@gmail.com>>> > wrote: > > Hi Kilon, > > 2016-11-25 12:13 GMT+01:00 Dimitris Chloupis > <kilon.alios@gmail.com <mailto:kilon.alios@gmail.com> <mailto:kilon.alios@gmail.com <mailto:kilon.alios@gmail.com>>>: > > Hey there , I would like to install from SmaCC only > Python and C++ parsers , any idea how to add that to my > baseline as a dependency ? > > > Just load the SmaCC-Python package. There is no C++ parser. > > Use the following: > > spec > baseline: 'SmaCC' > with: [ spec repository: > 'github://ThierryGoubier/SmaCC' ]; > import: 'SmaCC'. > spec package: <yourPackage> with: [ spec requires: > #('SmaCC-Python') ] > > Regards, > > Thierry > > > > > --- > ÎÏ ÏÏ Ïο e-mail ελÎγÏθηκε για ιοÏÏ Î±ÏÏ Ïο ÏÏÏγÏαμμα Avast > antivirus. > https://www.avast.com/antivirus > > >
participants (3)
-
Dimitris Chloupis -
Thierry Goubier -
Tudor Girba