unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Auto-compilation and the REPL
@ 2021-06-26 22:04 Jean Abou Samra
  2021-07-03 15:38 ` Jean Abou Samra
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Abou Samra @ 2021-06-26 22:04 UTC (permalink / raw)
  To: guile-user

Hello,

It seems that Guile always compiles the code
entered at the REPL even with --no-auto-compile:

jean@laptop-jean:~/repos/lilypond$ guile --no-auto-compile
GNU Guile 3.0.5.130-5a1e7
[Copyright notices...]
scheme@(guile-user)> (nonexistent-procedure)
;;; <stdin>:1:1: warning: possibly unbound variable `nonexistent-procedure'
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: nonexistent-procedure

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.


The ;;; <stdin> warning is the same as when compiling this
code in a script.

Is this expected? I couldn't find anything about it in the
documentation.

Thanks,
Jean Abou Samra




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Auto-compilation and the REPL
  2021-06-26 22:04 Auto-compilation and the REPL Jean Abou Samra
@ 2021-07-03 15:38 ` Jean Abou Samra
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Abou Samra @ 2021-07-03 15:38 UTC (permalink / raw)
  To: guile-devel@gnu.org; +Cc: guile-user

   Le 27/06/2021 00:04, Jean Abou Samra <[1]jean@abou-samra.fr> a écrit :

   Hello,

   It seems that Guile always compiles the code

   entered at the REPL even with --no-auto-compile:

   jean@laptop-jean:~/repos/lilypond$ guile --no-auto-compile

   GNU Guile 3.0.5.130-5a1e7

   [Copyright notices...]

   scheme@(guile-user)> (nonexistent-procedure)

   ;;; <stdin>:1:1: warning: possibly unbound variable
   `nonexistent-procedure'

   ice-9/boot-9.scm:1685:16: In procedure raise-exception:

   Unbound variable: nonexistent-procedure

   Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

   The ;;; <stdin> warning is the same as when compiling this

   code in a script.

   Is this expected? I couldn't find anything about it in the

   documentation.

   Thanks,

   Jean Abou Samra

   Forwarding this to the guile-devel list. Should this be considered a
   bug?

   Best regards,

   Jean Abou Samra

References

   1. mailto:jean@abou-samra.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-03 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-26 22:04 Auto-compilation and the REPL Jean Abou Samra
2021-07-03 15:38 ` Jean Abou Samra

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