[squeak-dev] swiki source suited to recent Squeaks

Levente Uzonyi leves at caesar.elte.hu
Fri Aug 16 19:36:59 UTC 2019


On Thu, 15 Aug 2019, tim Rowledge wrote:

> ... and the other approach outline -
>
> Loading up the Xtreams, the variant of Ramon's blog-post wikipage, Levente's parser and some other fiddling by me goes like this 
>
> "install SimpleFileWiki.st"
>
> Installer ss
>      project: 'MetacelloRepository';
>      install: 'ConfigurationOfXtreams'.
> (Smalltalk at: #ConfigurationOfXtreams) project bleedingEdge load.
>
> "install /home/pi/DizietFS/Desktop/GoogleWikiCompiler.st"
>
> and then the same Seaside startup/init as before.
>
> The downside of this approach is the much, much, bigger lump of code installed by Xtreams. If, however, you want the (apparently, no personal opinion on this yet) better streaming, and if you have use fo the FFI stuff, then this may be a price worth paying. Clearly the PEGParser stuff seems a bit more expansive and perhaps more up to date than the SmaCC package.

Well, you can install only what you need from Xtreams (without Metacello, 
stuff that depends on FFI, like Xtream-Xtras, or dependencies like 
XML-Parser):

Installer ss
 	project: 'Xtreams';
 	addPackage: 'Xtreams-Support';
 	addPackage: 'Xtreams-Core';
 	addPackage: 'Xtreams-Terminals';
 	addPackage: 'Xtreams-TerminalsFileDirectory';
 	addPackage: 'Xtreams-Transforms';
 	addPackage: 'Xtreams-Substreams';
 	addPackage: 'Xtreams-Parsing';
 	install.

Levente

>
> It wouldn't take much to enable either swikipage class/package to use the other parser, of course. Both really only interface with a parser in one place.
>
> What would seem like a really good idea to me would be getting a decent variant (by whatever definition on chooses) included in the SeaSide package(s) since  swiki is a very good demo that has real uses beyond mere demo-ness.
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: RDLI: Rotate Disk Left Immediate


More information about the Squeak-dev mailing list