cool...thanks Abel Regards, Kashyap On Thu, Mar 14, 2019 at 12:38 PM Abel Normand <abel.ze.norm...@gmail.com> wrote:
> Hello. > > This error related to namespaces feature in json.l. easy workaround: when > run pil, set env PIL_NAMESPACES=false before pil. This should fix your > issue, you can actually find this solution in official doc for json.l > > Nail. > > Sent from my BlackBerry — the most secure mobile device > *From:* ckkash...@gmail.com > *Sent:* 15 March 2019 00:26 > *To:* picolisp@software-lab.de > *Reply to:* picolisp@software-lab.de > *Subject:* json.l fails to load on pil 64 > > Hi, > I get this error when I try to load json.l from > https://github.com/aw/picolisp-json/blob/master/json.l > > [json.l:53] !? (de json-count-brackets (Str) (let Json_stack NIL (mapc > '((N) (if (or (= "{" N) (= "[" N)) (push 'Json_stack N) (case N ("]" (let R > (pop 'Json_stack) (unless (= "[" R) (err-throw "Unmatched JSON brackets > '['")))) ("}" (let R (pop 'Json_stack) (unless (= "{" R) (err-throw > "Unmatched JSON brackets '{'"))))))) Str) (when Json_stack (err-throw (text > "Unmatched JSON brackets '@1'" (pop Json_stack)))))) > > de -- Undefined > > I think this must be a bug in picoLisp since it loads fine on the 32bit > picoLisp. > > Regards, > Kashyap >