how to import a grammar file into Pharo
Greetings all, I'd really appreciate if someone could guide me through importing PetitIsland.st (http://mucca.inf.usi.ch/source-code.html) into Pharo and parsing a text file containing a mix of code and natural language with the resulting parser. Thanks in advance! Jen
On 21/02/16 22:22, Jen D'Souza wrote:
I'd really appreciate if someone could guide me through importing PetitIsland.st (http://mucca.inf.usi.ch/source-code.html) into Pharo and parsing a text file containing a mix of code and natural language with the resulting parser.
Island parsing is now a standard part of the moose image. That is probably the easiest download to work with. Migrating the other parts of mucca can be somewhat more work. The web application part of it probably translates well as it looks like a standard Seaside application. Glorp is available, I'm not aware of MetaDB, TwoFlower is a simple web browser. In Pharo we used to have Scamper, but I don't know if that still runs. PetitJava is loaded in Moose, PetitSTrace should be easy to port. Miller2 is somewhat larger and might be tightly coupled to VW code. Stephan
Many thanks! On Sun, Feb 21, 2016 at 4:01 PM, Stephan Eggermont <stephan@stack.nl> wrote:
On 21/02/16 22:22, Jen D'Souza wrote:
I'd really appreciate if someone could guide me through importing PetitIsland.st (http://mucca.inf.usi.ch/source-code.html) into Pharo and parsing a text file containing a mix of code and natural language with the resulting parser.
Island parsing is now a standard part of the moose image. That is probably the easiest download to work with. Migrating the other parts of mucca can be somewhat more work. The web application part of it probably translates well as it looks like a standard Seaside application. Glorp is available, I'm not aware of MetaDB, TwoFlower is a simple web browser. In Pharo we used to have Scamper, but I don't know if that still runs. PetitJava is loaded in Moose, PetitSTrace should be easy to port. Miller2 is somewhat larger and might be tightly coupled to VW code.
Stephan
pay attention VW code is not Pharo code. Le 21/2/16 22:22, Jen D'Souza a écrit :
Greetings all,
I'd really appreciate if someone could guide me through importing PetitIsland.st (http://mucca.inf.usi.ch/source-code.html) into Pharo and parsing a text file containing a mix of code and natural language with the resulting parser.
Thanks in advance!
Jen
Personally, l wish for a new ANSI Smalltalk group to convene to extend the standard to more areas of the language. I know it's a pipe dream, but it sure would be nice. Sent from my iPad
On Feb 22, 2016, at 23:36, stepharo <stepharo@free.fr> wrote:
pay attention VW code is not Pharo code.
Le 21/2/16 22:22, Jen D'Souza a écrit :
Greetings all,
I'd really appreciate if someone could guide me through importing PetitIsland.st (http://mucca.inf.usi.ch/source-code.html) into Pharo and parsing a text file containing a mix of code and natural language with the resulting parser.
Thanks in advance!
Jen
participants (4)
-
Jen D'Souza -
John Pfersich -
Stephan Eggermont -
stepharo