chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1421: problems with building json egg in c5 egg repo


From: Chicken Trac
Subject: [Chicken-janitors] #1421: problems with building json egg in c5 egg repo
Date: Wed, 18 Oct 2017 08:04:36 -0000

#1421: problems with building json egg in c5 egg repo
----------------------+-----------------------------
 Reporter:  felix     |                 Owner:
     Type:  defect    |                Status:  new
 Priority:  critical  |             Milestone:  5.0
Component:  expander  |               Version:  5.0
 Keywords:            |  Estimated difficulty:  hard
----------------------+-----------------------------
 Building the json egg results in:

 {{{
 Error: (json.scm:109) - toplevel definition of `white' in non-toplevel
 context
 }}}

 The code looks like this:

 {{{
       (define parser
         (packrat-parser (begin
                           (define (white results) ...
 }}}

 Changing the `begin` to `let ()` results in another, more obscure error.
 Apparently the proper treatment of `define` inside `begin` inside `let`
 is not correctly expanded (`packrat-parser` seems to expand into a let
 body).

--
Ticket URL: <https://bugs.call-cc.org/ticket/1421>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]