unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Gurjot Singh <bhattigurjot@gmail.com>
To: guile-devel@gnu.org
Subject: Re: Error while running the software
Date: Fri, 23 May 2014 19:48:07 +0530	[thread overview]
Message-ID: <CANWseAZanKYeY6qtSiTP8z5Xe4ng6qOU=V0Ah6XGC6S1h7nB1Q@mail.gmail.com> (raw)
In-Reply-To: <CANWseAagrUKGeC63O1-7A2RtfRMwO9pPT5xr07E0-Q9orWZCCg@mail.gmail.com>

On 23 May 2014 18:11, Gurjot Singh <bhattigurjot@gmail.com> 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 #<procedure 195c900 at
> 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 дефиниши define)
New syntax:
(define-syntax дефиниши (syntax-rules () ((_ args ...) (define args ...))))

Thanks lloda :-)

-- 
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



      reply	other threads:[~2014-05-23 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23  5:39 Error while running the software Gurjot Singh
2014-05-23 10:19 ` Nala Ginrut
2014-05-23 12:41 ` Gurjot Singh
2014-05-23 14:18   ` Gurjot Singh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANWseAZanKYeY6qtSiTP8z5Xe4ng6qOU=V0Ah6XGC6S1h7nB1Q@mail.gmail.com' \
    --to=bhattigurjot@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).