From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gurjot Singh Newsgroups: gmane.lisp.guile.devel Subject: Re: Error while running the software Date: Fri, 23 May 2014 19:48:07 +0530 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400854707 14039 80.91.229.3 (23 May 2014 14:18:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2014 14:18:27 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri May 23 16:18:22 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WnqIZ-0002s1-Vf for guile-devel@m.gmane.org; Fri, 23 May 2014 16:18:16 +0200 Original-Received: from localhost ([::1]:43706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnqIZ-0006kf-CY for guile-devel@m.gmane.org; Fri, 23 May 2014 10:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnqIT-0006kH-Cb for guile-devel@gnu.org; Fri, 23 May 2014 10:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnqIS-0007cD-AW for guile-devel@gnu.org; Fri, 23 May 2014 10:18:09 -0400 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:65246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnqIS-0007bu-20 for guile-devel@gnu.org; Fri, 23 May 2014 10:18:08 -0400 Original-Received: by mail-wg0-f47.google.com with SMTP id x12so4813905wgg.6 for ; Fri, 23 May 2014 07:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=dEBwLXmkKnMXaA8JKnjX1o+7+tJsRyJRQMkUp0izV1M=; b=Q9e28Bx0qi4JdB4ehVwRPwvQr1BO5b2Q0RJ6wMFiO1U3za0xegdWzjnYZuSChgFZ99 dPEDI0BORfV85KZ5dyKc8JRUYpHLxNhmJ3d20TaOqe+KcFla4+BssTAXBKAWOVBjaQ/d txOn0I8l4pEJY9tgTvETjhSa/xqm3thUyuXie0ugoTgSCzmI4tzpYsBEqHttcMxt2Lqf ICZ11xsq4Sadgf4sTblGhiO3lTcHwR1fX5fzR4mvpaGKEOr1o/mD9aA6+f12WEgf5yfI 0wrhF4+CikNfkOjc7oVGf5D3DrxQay+kmzZzM7dQ95EvIsFW6OUajQMHSRNBU/RvG2Tc F/Ug== X-Received: by 10.194.157.226 with SMTP id wp2mr4504768wjb.58.1400854687160; Fri, 23 May 2014 07:18:07 -0700 (PDT) Original-Received: by 10.217.61.129 with HTTP; Fri, 23 May 2014 07:18:07 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17158 Archived-At: On 23 May 2014 18:11, Gurjot Singh wrote: > This error was solved(with the help from Nala) by replacing () with > '() in .scm file. > But now the following error comes up: > ice-9/psyntax.scm:1274:12: In procedure # ice-9/psyntax.scm:1082:36 ()>: > ice-9/psyntax.scm:1274:12: Syntax error: > unknown location: unexpected syntax in form define > > I think this is the syntax error in .scm files. > Any guidance? This was solved(with the help of lloda on #guile IRC) by changing the syntax of define. For example- Old syntax: (define =D0=B4=D0=B5=D1=84=D0=B8=D0=BD=D0=B8=D1=88=D0=B8 define) New syntax: (define-syntax =D0=B4=D0=B5=D1=84=D0=B8=D0=BD=D0=B8=D1=88=D0=B8 (syntax-rul= es () ((_ args ...) (define args ...)))) Thanks lloda :-) --=20 Gurjot Singh Blog: http://bhattigurjot.wordpress.com "You gotta get hurt 'cause that's how you'll learn, You gotta try your hardest no matter how much you'll burn." ~ Scott Singh