I've been playing with 1.2 release of ``The Macro Implementation of SNOBOL4 in C'' (CSNOBOL4) picked up from http://www.snobol4.org
It compiled easily enough on my Linux, so no problems there. I've just picked up the Snocone lumps from ftp://ftp.snobol4.com/snocone/ but it is not building. The first part of the makefile says spitbol -b snocone.sno < snocone.sc > sc.spt which I changed to snobol4 -b snocone.sno < snocone.sc > sc.spt The snocone.sno is a bootstrap of the snocone processor; a 2nd stage builds the full snocone from this bootstrap, since the full snocone is actually written in snocone (a subset presumably!) When I first run this, I get an infinite output of Line : Syntax: I eventually traced that to a end start line at the end of the file, which I split into :(start) end because start is clearly the label for "main" Now I'm getting snocone.sno:16: Error 4 in statement 2 at level 0 Null string in illegal context where line 16 is the active line of * nspan(str) * like span, but the pattern returned * can also match the null string nspan nspan = span(str) | "" :(return) I'm guessing the problem is the "" in there? I don't know how to solve this; looks like just reading a tute hasn't made me a SNOBOL expert. If anyone can sort this out that would be great! TIA etc ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Unicon-group mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unicon-group
