> Okay here's the concrete semantics I propose: > > 1. The "head" production is the part that looks for the <*. Upon > finding a <*, it consumes any number of horizontal spaces, line > comments, and multiline/datum comments. It then enters "superlist" > production > > 2. "superlist" just calls the top-level "i_expr" repeatedly, creating > a list of items, and terminating upon finding a *>, returning the > yielded list. > > 3. When "superlist" returns, "head" just takes its returned value and > takes it as a single item, and continues on its merry way looking for > n-expressions and superlists after the *>. > > The third part allows: > > let <* x 5 \\ y 6 *> {x + y}
So given the above semantics, we can define an R6RS library as so: <* library \\ amkg animals $ 1 0 export cat rename $ rover dog import only amkg pets $ 1 0 rover define cat 'meow *> Thoughts? Sincerely, AmkG ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss