From pierarda at iro.umontreal.ca Tue Aug 12 11:24:06 2008 From: pierarda at iro.umontreal.ca (Adrien Pierard) Date: Tue, 12 Aug 2008 11:24:06 -0400 Subject: [Snow-users-list] Declarations order bug? Message-ID: <20080812152406.GB32262@iro.umontreal.ca> It took me a while to figure out where the bug was in my code... proof of concept source codes are attached. Basically, snow packages fail to parse depending on the order of the variation PACKAGE* subdeclarations, such as licence: require: provide:, etc. The problem here is the require: one. *** SNOW ERROR -- package form syntax error (filename= "./snowbad.scm") *** ERROR IN (string)@1.32 -- Ill-formed procedure call Real bug? P! -- "I am not a Church numeral; I am a free variable!" (The Scheme Underground) For every complex problem, there is a solution that is simple, neat, and wrong. -------------- next part -------------- ":";exec snow -- "$0" "$@" (package* snowbad/v1.0.0 (require: snowbad/v1.0.0) (license: bsd) ) #f -------------- next part -------------- ":";exec snow -- "$0" "$@" (package* snowgood/v1.0.0 (license: bsd) (require: snowgood/v1.0.0) ) #f From pierarda at iro.umontreal.ca Tue Aug 12 13:18:08 2008 From: pierarda at iro.umontreal.ca (Adrien Pierard) Date: Tue, 12 Aug 2008 13:18:08 -0400 Subject: [Snow-users-list] Declarations order bug? In-Reply-To: <20080812152406.GB32262@iro.umontreal.ca> References: <20080812152406.GB32262@iro.umontreal.ca> Message-ID: <20080812171807.GC32262@iro.umontreal.ca> On Tue, Aug 12, 2008 at 11:24:06AM -0400, Adrien Pierard wrote : > Real bug? Nope. My bad. That's the expected behaviour according to the grammar... P! -- "I am not a Church numeral; I am a free variable!" (The Scheme Underground) For every complex problem, there is a solution that is simple, neat, and wrong.