Hi alberto, i'm not sure about the solution of your problem although i would try to prepare a simple st script were you basically say to the parser which file to parse and simply flush on a file the output of the parser. Than you can start an headless image passing the st file as input. Hope this will help.
Cheers, Fabrizio 2011/11/5 Alberto Bacchelli <alberto.bacche...@usi.ch> > Hi all, > > I have a small parser written in PetitParser ;) I would like to call > it from a non Smalltalk application (e.g., Java, javascript) or, more > generally, from a Unix command line. > I was thinking about something like: > > ./myParser -i fileToParse.txt -o outputFile.txt > > Is there any possibility to do that? Can a headless Pharo be a > solution? If so, how can I start and use a headless Pharo? Is there > any useful documentation/email about it? > > Thank you a lot for any help. > > Cheers, > Alberto > >